rest

package
v0.0.0-...-e7feb91 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func Init

func Init(library library.Library, streaming streaming.API, outputs outputs.Outputs) API

func (*API) HandleAddAlbum

func (a *API) HandleAddAlbum(w http.ResponseWriter, r *http.Request)

func (*API) HandleAddArtist

func (a *API) HandleAddArtist(w http.ResponseWriter, r *http.Request)

func (*API) HandleAddPlayList

func (a *API) HandleAddPlayList(w http.ResponseWriter, r *http.Request)

func (*API) HandleAddTrackToPlaylist

func (a *API) HandleAddTrackToPlaylist(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetAlbumFull

func (a *API) HandleGetAlbumFull(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetAllAlbums

func (a *API) HandleGetAllAlbums(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetAllArtists

func (a *API) HandleGetAllArtists(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetAllPlaylists

func (a *API) HandleGetAllPlaylists(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetArtistFull

func (a *API) HandleGetArtistFull(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetPage

func (a *API) HandleGetPage(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetPlaylistFull

func (a *API) HandleGetPlaylistFull(w http.ResponseWriter, r *http.Request)

func (*API) HandlePauseTrack

func (a *API) HandlePauseTrack(w http.ResponseWriter, r *http.Request)

func (*API) HandlePlayTrack

func (a *API) HandlePlayTrack(w http.ResponseWriter, r *http.Request)

func (*API) HandleQuickSearch

func (a *API) HandleQuickSearch(w http.ResponseWriter, r *http.Request)

func (*API) HandleResumeTrack

func (a *API) HandleResumeTrack(w http.ResponseWriter, r *http.Request)

func (*API) HandleSearch

func (a *API) HandleSearch(w http.ResponseWriter, r *http.Request)

func (*API) HandleSeek

func (a *API) HandleSeek(w http.ResponseWriter, r *http.Request)

func (*API) PlaybackWS

func (a *API) PlaybackWS(w http.ResponseWriter, r *http.Request)

func (*API) Run

func (a *API) Run()

type IdType

type IdType string
var (
	Library   IdType = "library"
	Streaming IdType = "streaming"
)

Jump to

Keyboard shortcuts

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