Add RSS feed endpoint

This commit is contained in:
2024-02-07 23:45:14 -07:00
parent b04c1eede7
commit fec49e7be6
4 changed files with 71 additions and 9 deletions

View File

@ -66,6 +66,7 @@ func main() {
// API Routes:
apiGroup := e.Group("/api")
apiGroup.GET("/ping", api.Ping)
apiGroup.GET("/rss", api.RSSFeedHandler)
apiGroup.GET("/sse", func(c echo.Context) error {
return api.SSE(c, pubSub)