Documentation
¶
Index ¶
- Constants
- func Home(context ApiContext) (*view.Home, error)
- func Locate(context ApiContext, uri string) (*url.URL, error)
- func Playlist(context ApiContext) (*spiff.Playlist, error)
- func Position(context ApiContext, index int, position float64) error
- func Progress(context ApiContext) (*view.Progress, error)
- func Radio(context ApiContext) (*view.Radio, error)
- func Replace(context ApiContext, ref, spiffType, creator, title string) (*spiff.Playlist, error)
- func SearchReplace(context ApiContext, query string, shuffle bool) (*spiff.Playlist, error)
- type AccessCode
- type ApiContext
- type L
- type M
- type Tokens
Constants ¶
View Source
const ( BearerNone = iota BearerCode BearerAccess BearerRefresh BearerMedia )
Variables ¶
This section is empty.
Functions ¶
func Replace ¶
func Replace(context ApiContext, ref, spiffType, creator, title string) (*spiff.Playlist, error)
func SearchReplace ¶
Types ¶
type AccessCode ¶
func Code ¶
func Code(context ApiContext) (*AccessCode, error)
type ApiContext ¶
Click to show internal directories.
Click to hide internal directories.