handlers

package
v0.0.0-...-ce70d39 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey int
const (
	ContextKeyQuery ContextKey = iota
)

type Handler

type Handler struct {
	Store             db.Store
	Scanner           *scanner.Scanner
	ListenBrainz      *listenbrainz.ListenBrainz
	LastFM            *lastfm.LastFm
	Transcoder        *ffmpeg.Transcoder
	ConnectionManager *connect.ConnectionManager

	CoverCache     *cache.Cache
	TranscodeCache *cache.Cache
	// contains filtered or unexported fields
}

func New

func New(store db.Store, scanner *scanner.Scanner, listenBrainz *listenbrainz.ListenBrainz, lastFM *lastfm.LastFm, transcoder *ffmpeg.Transcoder, transcodeCache *cache.Cache, coverCache *cache.Cache) *Handler

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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