ports

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadTimeout  = 5
	WriteTimeout = 3
	IdleTimeout  = 1
)
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

Types

type Dependencies

type Dependencies struct {
	YouTube app.YouTubeService
	YTDL    app.YTDLDependencies
}

type HTTPServer added in v1.10.0

type HTTPServer struct {
	// contains filtered or unexported fields
}

func NewHTTPServer added in v1.10.0

func NewHTTPServer(
	server *fiber.App,
	youTubeService app.YouTubeService,
	fileService app.FileService,
) HTTPServer

func (HTTPServer) Serve added in v1.10.0

func (h HTTPServer) Serve() *fiber.App

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL