ctrlsubsonic

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	*ctrlbase.Controller
	// contains filtered or unexported fields
}

func New

func New(base *ctrlbase.Controller, cachePath string) *Controller

func (*Controller) H

func (c *Controller) H(h handlerSubsonic) http.Handler

func (*Controller) HR

func (c *Controller) HR(h handlerSubsonicRaw) http.Handler

func (*Controller) ServeDeletePlaylist

func (c *Controller) ServeDeletePlaylist(r *http.Request) *spec.Response

func (*Controller) ServeDownload

func (c *Controller) ServeDownload(w http.ResponseWriter, r *http.Request) *spec.Response

func (*Controller) ServeGetAlbum

func (c *Controller) ServeGetAlbum(r *http.Request) *spec.Response

func (*Controller) ServeGetAlbumList

func (c *Controller) ServeGetAlbumList(r *http.Request) *spec.Response

changes to this function should be reflected in in _by_tags.go's getAlbumListTwo() function

func (*Controller) ServeGetAlbumListTwo

func (c *Controller) ServeGetAlbumListTwo(r *http.Request) *spec.Response

changes to this function should be reflected in in _by_folder.go's getAlbumList() function

func (*Controller) ServeGetArtist

func (c *Controller) ServeGetArtist(r *http.Request) *spec.Response

func (*Controller) ServeGetArtistInfoTwo

func (c *Controller) ServeGetArtistInfoTwo(r *http.Request) *spec.Response

func (*Controller) ServeGetArtists

func (c *Controller) ServeGetArtists(r *http.Request) *spec.Response

func (*Controller) ServeGetCoverArt

func (c *Controller) ServeGetCoverArt(w http.ResponseWriter, r *http.Request) *spec.Response

func (*Controller) ServeGetGenres

func (c *Controller) ServeGetGenres(r *http.Request) *spec.Response

func (*Controller) ServeGetIndexes

func (c *Controller) ServeGetIndexes(r *http.Request) *spec.Response

func (*Controller) ServeGetLicence

func (c *Controller) ServeGetLicence(r *http.Request) *spec.Response

func (*Controller) ServeGetMusicDirectory

func (c *Controller) ServeGetMusicDirectory(r *http.Request) *spec.Response

func (*Controller) ServeGetMusicFolders

func (c *Controller) ServeGetMusicFolders(r *http.Request) *spec.Response

func (*Controller) ServeGetPlayQueue

func (c *Controller) ServeGetPlayQueue(r *http.Request) *spec.Response

func (*Controller) ServeGetPlaylist

func (c *Controller) ServeGetPlaylist(r *http.Request) *spec.Response

func (*Controller) ServeGetPlaylists

func (c *Controller) ServeGetPlaylists(r *http.Request) *spec.Response

func (*Controller) ServeGetRandomSongs

func (c *Controller) ServeGetRandomSongs(r *http.Request) *spec.Response

func (*Controller) ServeGetScanStatus

func (c *Controller) ServeGetScanStatus(r *http.Request) *spec.Response

func (*Controller) ServeGetSong

func (c *Controller) ServeGetSong(r *http.Request) *spec.Response

func (*Controller) ServeGetSongsByGenre

func (c *Controller) ServeGetSongsByGenre(r *http.Request) *spec.Response

func (*Controller) ServeGetUser

func (c *Controller) ServeGetUser(r *http.Request) *spec.Response

func (*Controller) ServeNotFound

func (c *Controller) ServeNotFound(r *http.Request) *spec.Response

func (*Controller) ServePing

func (c *Controller) ServePing(r *http.Request) *spec.Response

func (*Controller) ServeSavePlayQueue

func (c *Controller) ServeSavePlayQueue(r *http.Request) *spec.Response

func (*Controller) ServeScrobble

func (c *Controller) ServeScrobble(r *http.Request) *spec.Response

func (*Controller) ServeSearchThree

func (c *Controller) ServeSearchThree(r *http.Request) *spec.Response

func (*Controller) ServeSearchTwo

func (c *Controller) ServeSearchTwo(r *http.Request) *spec.Response

func (*Controller) ServeStartScan

func (c *Controller) ServeStartScan(r *http.Request) *spec.Response

func (*Controller) ServeStream

func (c *Controller) ServeStream(w http.ResponseWriter, r *http.Request) *spec.Response

func (*Controller) ServeUpdatePlaylist

func (c *Controller) ServeUpdatePlaylist(r *http.Request) *spec.Response

func (*Controller) WithParams

func (c *Controller) WithParams(next http.Handler) http.Handler

func (*Controller) WithRequiredParams

func (c *Controller) WithRequiredParams(next http.Handler) http.Handler

func (*Controller) WithUser

func (c *Controller) WithUser(next http.Handler) http.Handler

type CtxKey

type CtxKey int
const (
	CtxUser CtxKey = iota
	CtxSession
	CtxParams
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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