Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtInfo ¶
type ExtInfo struct {
StorageVersion string `json:"storage_version"`
}
func (ExtInfo) GetTableName ¶
type IteratorCallback ¶
type LastfmUser ¶
type LastfmUser struct { Id string `json:"id"` Name string `json:"name"` RealName string `json:"real_name"` Url string `json:"url"` SessionKey string `json:"session_key"` }
func (*LastfmUser) Clear ¶
func (u *LastfmUser) Clear()
func (*LastfmUser) GetDbName ¶
func (u *LastfmUser) GetDbName() string
func (*LastfmUser) GetKey ¶
func (u *LastfmUser) GetKey() string
func (*LastfmUser) GetTableName ¶
func (u *LastfmUser) GetTableName() string
func (*LastfmUser) InitFromStorage ¶
func (u *LastfmUser) InitFromStorage()
func (*LastfmUser) Store ¶
func (u *LastfmUser) Store()
type LocalDB ¶
func NewLocalDB ¶
type LocalDBManager ¶
type LocalDBManager struct {
// contains filtered or unexported fields
}
var DBManager *LocalDBManager
func (*LocalDBManager) GetDBFromCache ¶
func (dm *LocalDBManager) GetDBFromCache(db interface{}) (localDB *LocalDB, err error)
type PlayerSnapshot ¶
type PlayerSnapshot struct { CurSongIndex int `json:"cur_song_index"` Playlist []spotify.FullTrack `json:"playlist"` PlaylistUpdateAt time.Time `json:"playlist_update_at"` IsCurSongLiked bool `json:"is_cur_song_liked"` }
func (PlayerSnapshot) GetDbName ¶
func (p PlayerSnapshot) GetDbName() string
func (PlayerSnapshot) GetKey ¶
func (p PlayerSnapshot) GetKey() string
func (PlayerSnapshot) GetTableName ¶
func (p PlayerSnapshot) GetTableName() string
type VolumeStorable ¶
Click to show internal directories.
Click to hide internal directories.