Documentation ¶
Index ¶
- type Controller
- func (c *Controller) GetLogEntries(startIdx, limit int32, minDate time.Time, json bool) error
- func (c *Controller) GetPublicSystemInfo() error
- func (c *Controller) GetSystemInfo() error
- func (c *Controller) KeyCreate(app string) error
- func (c *Controller) KeyDelete(key string) error
- func (c *Controller) KeyList(json bool) error
- func (c *Controller) LibraryDuplicates(term string, types []string, json bool) error
- func (c *Controller) LibraryScan() error
- func (c *Controller) LibrarySearch(term string, types []string, json bool) error
- func (c *Controller) LibraryUnscraped(types []string, json bool) error
- func (c *Controller) SystemBackup() error
- func (c *Controller) SystemRestart() error
- func (c *Controller) SystemRestore(backupDir string, unplayed, unfav bool) error
- func (c *Controller) SystemShutdown() error
- func (c *Controller) TaskList(json bool) error
- func (c *Controller) TaskStart(id string) error
- func (c *Controller) TaskStop(id string) error
- func (c *Controller) UserAdd(name, password string) error
- func (c *Controller) UserDel(userID string) error
- func (c *Controller) UserDisable(userID string) error
- func (c *Controller) UserEnable(userID string) error
- func (c *Controller) UserList(json bool) error
- func (c *Controller) UserPolicy(userID string) (*api.UserPolicy, error)
- func (c *Controller) UserSetAdmin(userID string) error
- func (c *Controller) UserSetHidden(userID string) error
- func (c *Controller) UserUnsetAdmin(userID string) error
- func (c *Controller) UserUnsetHidden(userID string) error
- type NameID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) GetLogEntries ¶
func (*Controller) GetPublicSystemInfo ¶
func (c *Controller) GetPublicSystemInfo() error
func (*Controller) GetSystemInfo ¶
func (c *Controller) GetSystemInfo() error
func (*Controller) KeyCreate ¶
func (c *Controller) KeyCreate(app string) error
func (*Controller) KeyDelete ¶
func (c *Controller) KeyDelete(key string) error
func (*Controller) KeyList ¶
func (c *Controller) KeyList(json bool) error
func (*Controller) LibraryDuplicates ¶ added in v0.4.0
func (c *Controller) LibraryDuplicates(term string, types []string, json bool) error
func (*Controller) LibraryScan ¶
func (c *Controller) LibraryScan() error
func (*Controller) LibrarySearch ¶ added in v0.3.0
func (c *Controller) LibrarySearch(term string, types []string, json bool) error
func (*Controller) LibraryUnscraped ¶
func (c *Controller) LibraryUnscraped(types []string, json bool) error
func (*Controller) SystemBackup ¶ added in v0.3.0
func (c *Controller) SystemBackup() error
func (*Controller) SystemRestart ¶
func (c *Controller) SystemRestart() error
func (*Controller) SystemRestore ¶ added in v0.3.0
func (c *Controller) SystemRestore(backupDir string, unplayed, unfav bool) error
TODO: - Complete user restore - Playlists
func (*Controller) SystemShutdown ¶
func (c *Controller) SystemShutdown() error
func (*Controller) TaskList ¶ added in v0.3.0
func (c *Controller) TaskList(json bool) error
func (*Controller) TaskStart ¶ added in v0.3.0
func (c *Controller) TaskStart(id string) error
func (*Controller) TaskStop ¶ added in v0.3.0
func (c *Controller) TaskStop(id string) error
func (*Controller) UserAdd ¶
func (c *Controller) UserAdd(name, password string) error
func (*Controller) UserDel ¶
func (c *Controller) UserDel(userID string) error
func (*Controller) UserDisable ¶
func (c *Controller) UserDisable(userID string) error
func (*Controller) UserEnable ¶
func (c *Controller) UserEnable(userID string) error
func (*Controller) UserList ¶
func (c *Controller) UserList(json bool) error
func (*Controller) UserPolicy ¶
func (c *Controller) UserPolicy(userID string) (*api.UserPolicy, error)
func (*Controller) UserSetAdmin ¶
func (c *Controller) UserSetAdmin(userID string) error
func (*Controller) UserSetHidden ¶
func (c *Controller) UserSetHidden(userID string) error
func (*Controller) UserUnsetAdmin ¶
func (c *Controller) UserUnsetAdmin(userID string) error
func (*Controller) UserUnsetHidden ¶
func (c *Controller) UserUnsetHidden(userID string) error
Click to show internal directories.
Click to hide internal directories.