Documentation
¶
Overview ¶
Package server provides HTTP server and API handlers for program-director.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP server
func NewServer ¶
func NewServer( cfg *config.Config, serverCfg *Config, mediaRepo *repository.MediaRepository, historyRepo *repository.HistoryRepository, cooldownRepo *repository.CooldownRepository, syncService *media.SyncService, playlistGenerator *playlist.Generator, cooldownManager *cooldown.Manager, logger *slog.Logger, ) *Server
NewServer creates a new HTTP server instance
Click to show internal directories.
Click to hide internal directories.