owl-blogs/web/rss_handler.go

20 lines
330 B
Go
Raw Permalink Normal View History

2023-06-25 19:32:36 +00:00
package web
import (
"owl-blogs/app"
"github.com/gofiber/fiber/v2"
)
type RSSHandler struct {
entrySvc *app.EntryService
}
func NewRSSHandler(entryService *app.EntryService) *RSSHandler {
return &RSSHandler{entrySvc: entryService}
}
func (h *RSSHandler) Handle(c *fiber.Ctx) error {
return c.SendString("Hello, RSS!")
}