Documentation ¶
Index ¶
Constants ¶
View Source
const (
BaseFeedURL = "https://yt.psmarcin.dev/feed/channel/"
)
View Source
const (
ParamChannelId = "channelId"
)
Variables ¶
This section is empty.
Functions ¶
func CreateHTTPServer ¶
func CreateHTTPServer() *fiber.App
CreateHTTPServer creates configured HTTP server
func RequestContext ¶ added in v1.5.0
func RequestContext() func(c *fiber.Ctx) error
Types ¶
type Dependencies ¶
type Dependencies struct { YouTube app.YouTubeService YTDL app.YTDLDependencies }
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer( server *fiber.App, youTubeService app.YouTubeService, ytdlService app.YTDLDependencies, ) HttpServer
func (HttpServer) Serve ¶
func (h HttpServer) Serve() *fiber.App
Click to show internal directories.
Click to hide internal directories.