Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements the /v1 API namespace.
func NewHandler ¶
func NewHandler( logger *slog.Logger, songRepo song.Repository, songSvc song.Service, mediaSvc media.Service, mediaStore media.Store, uploadRepo upload.Repository, uploadStore upload.Store, ) *Handler
NewHandler creates a new handler using the specified services. This function will create the required sub-handlers automatically.
Click to show internal directories.
Click to hide internal directories.