Documentation ¶
Index ¶
- Constants
- func Body[T any](c echo.Context, schema jio.Schema) (T, error)
- func ConvertAlbumCoverURL(c echo.Context, val sql.NullString) string
- func ConvertArtistPictureURL(c echo.Context, val sql.NullString) string
- func ConvertImageURL(c echo.Context, val sql.NullString, def string) string
- func ConvertTrackCoverURL(c echo.Context, val sql.NullString) string
- func ConvertURL(c echo.Context, path string) string
- func Decode(input interface{}, output interface{}) error
- func InitializeConfig(db *database.Database) error
- func IsSetup() bool
- type Handlers
- func (h *Handlers) HandleDeletePlaylistItemsById(c echo.Context) error
- func (h *Handlers) HandleGetAlbumById(c echo.Context) error
- func (h *Handlers) HandleGetAlbumTracksById(c echo.Context) error
- func (h *Handlers) HandleGetAlbums(c echo.Context) error
- func (h *Handlers) HandleGetArtistAlbumsById(c echo.Context) error
- func (h *Handlers) HandleGetArtistById(c echo.Context) error
- func (h *Handlers) HandleGetArtists(c echo.Context) error
- func (h *Handlers) HandleGetMe(c echo.Context) error
- func (h *Handlers) HandleGetPlaylistById(c echo.Context) error
- func (h *Handlers) HandleGetPlaylists(c echo.Context) error
- func (h *Handlers) HandleGetSync(c echo.Context) error
- func (h *Handlers) HandleGetSystemInfo(c echo.Context) error
- func (h *Handlers) HandleGetTags(c echo.Context) error
- func (h *Handlers) HandleGetTrackById(c echo.Context) error
- func (h *Handlers) HandleGetTracks(c echo.Context) error
- func (h *Handlers) HandlePostPlaylist(c echo.Context) error
- func (h *Handlers) HandlePostPlaylistItemsById(c echo.Context) error
- func (h *Handlers) HandlePostPlaylistsItemsMoveById(c echo.Context) error
- func (h *Handlers) HandlePostQueue(c echo.Context) error
- func (h *Handlers) HandlePostSignin(c echo.Context) error
- func (h *Handlers) HandlePostSignup(c echo.Context) error
- func (h *Handlers) HandlePostSync(c echo.Context) error
- func (h *Handlers) HandlePostSystemExport(c echo.Context) error
- func (h *Handlers) HandlePostSystemImport(c echo.Context) error
- func (h *Handlers) HandlePostSystemSetup(c echo.Context) error
- func (h *Handlers) InstallAlbumHandlers(group *echo.Group)
- func (h *Handlers) InstallArtistHandlers(group *echo.Group)
- func (h *Handlers) InstallAuthHandlers(group *echo.Group)
- func (h *Handlers) InstallPlaylistHandlers(group *echo.Group)
- func (h *Handlers) InstallQueueHandlers(group *echo.Group)
- func (h *Handlers) InstallSyncHandlers(group *echo.Group)
- func (h *Handlers) InstallSystemHandlers(group *echo.Group)
- func (h *Handlers) InstallTagHandlers(group *echo.Group)
- func (h *Handlers) InstallTrackHandlers(group *echo.Group)
- func (h *Handlers) User(c echo.Context) (*database.User, error)
Constants ¶
View Source
const ( DefaultArtistPictureName = "default/default_artist.png" DefaultAlbumCoverArtName = "default/default_album.png" DefaultTrackCoverArtName = "default/default_album.png" )
Variables ¶
This section is empty.
Functions ¶
func ConvertAlbumCoverURL ¶ added in v0.9.0
func ConvertAlbumCoverURL(c echo.Context, val sql.NullString) string
func ConvertArtistPictureURL ¶ added in v0.9.0
func ConvertArtistPictureURL(c echo.Context, val sql.NullString) string
func ConvertImageURL ¶ added in v0.9.0
func ConvertImageURL(c echo.Context, val sql.NullString, def string) string
func ConvertTrackCoverURL ¶ added in v0.9.0
func ConvertTrackCoverURL(c echo.Context, val sql.NullString) string
func ConvertURL ¶
func Decode ¶ added in v0.10.0
func Decode(input interface{}, output interface{}) error
TODO(patrik): Move
func InitializeConfig ¶ added in v0.10.0
Types ¶
type Handlers ¶ added in v0.9.0
type Handlers struct {
// contains filtered or unexported fields
}
func (*Handlers) HandleDeletePlaylistItemsById ¶ added in v0.10.0
func (*Handlers) HandleGetAlbumById ¶ added in v0.9.0
func (*Handlers) HandleGetAlbumTracksById ¶ added in v0.9.0
func (*Handlers) HandleGetAlbums ¶ added in v0.9.0
func (*Handlers) HandleGetArtistAlbumsById ¶ added in v0.9.0
func (*Handlers) HandleGetArtistById ¶ added in v0.9.0
func (*Handlers) HandleGetArtists ¶ added in v0.9.0
func (*Handlers) HandleGetMe ¶ added in v0.10.0
func (*Handlers) HandleGetPlaylistById ¶ added in v0.10.0
func (*Handlers) HandleGetPlaylists ¶ added in v0.10.0
func (*Handlers) HandleGetSync ¶ added in v0.9.0
func (*Handlers) HandleGetSystemInfo ¶ added in v0.10.0
func (*Handlers) HandleGetTags ¶ added in v0.9.0
func (*Handlers) HandleGetTrackById ¶ added in v0.9.0
func (*Handlers) HandleGetTracks ¶ added in v0.9.0
func (*Handlers) HandlePostPlaylist ¶ added in v0.10.0
func (*Handlers) HandlePostPlaylistItemsById ¶ added in v0.10.0
func (*Handlers) HandlePostPlaylistsItemsMoveById ¶ added in v0.10.0
func (*Handlers) HandlePostQueue ¶ added in v0.9.0
func (*Handlers) HandlePostSignin ¶ added in v0.10.0
func (*Handlers) HandlePostSignup ¶ added in v0.10.0
TODO(patrik): Check confirmPassword
func (*Handlers) HandlePostSync ¶ added in v0.9.0
func (*Handlers) HandlePostSystemExport ¶ added in v0.12.0
func (*Handlers) HandlePostSystemImport ¶ added in v0.12.0
func (*Handlers) HandlePostSystemSetup ¶ added in v0.10.0
func (*Handlers) InstallAlbumHandlers ¶ added in v0.9.0
func (h *Handlers) InstallAlbumHandlers(group *echo.Group)
func (*Handlers) InstallArtistHandlers ¶ added in v0.9.0
func (h *Handlers) InstallArtistHandlers(group *echo.Group)
func (*Handlers) InstallAuthHandlers ¶ added in v0.10.0
func (h *Handlers) InstallAuthHandlers(group *echo.Group)
func (*Handlers) InstallPlaylistHandlers ¶ added in v0.10.0
func (h *Handlers) InstallPlaylistHandlers(group *echo.Group)
func (*Handlers) InstallQueueHandlers ¶ added in v0.9.0
func (h *Handlers) InstallQueueHandlers(group *echo.Group)
func (*Handlers) InstallSyncHandlers ¶ added in v0.9.0
func (h *Handlers) InstallSyncHandlers(group *echo.Group)
func (*Handlers) InstallSystemHandlers ¶ added in v0.10.0
func (h *Handlers) InstallSystemHandlers(group *echo.Group)
func (*Handlers) InstallTagHandlers ¶ added in v0.9.0
func (h *Handlers) InstallTagHandlers(group *echo.Group)
func (*Handlers) InstallTrackHandlers ¶ added in v0.9.0
func (h *Handlers) InstallTrackHandlers(group *echo.Group)
Click to show internal directories.
Click to hide internal directories.