Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AlbumsCache = &FavouriteCacheV1{} ArtistsCache = &FavouriteCacheV1{} MixesCache = &FavouriteCacheV2{} PlaylistsCache = &FavouriteCacheV1{} TracksCache = &FavouriteCacheV1{} )
Functions ¶
This section is empty.
Types ¶
type FavouriteCache ¶
type FavouriteCacheV1 ¶
type FavouriteCacheV1 struct {
// contains filtered or unexported fields
}
func (*FavouriteCacheV1) Add ¶
func (cache *FavouriteCacheV1) Add(id string) error
func (*FavouriteCacheV1) Bust ¶
func (cache *FavouriteCacheV1) Bust()
func (*FavouriteCacheV1) Get ¶
func (cache *FavouriteCacheV1) Get() (*[]string, error)
func (*FavouriteCacheV1) Remove ¶
func (cache *FavouriteCacheV1) Remove(id string) error
type FavouriteCacheV2 ¶
type FavouriteCacheV2 struct {
// contains filtered or unexported fields
}
func (*FavouriteCacheV2) Add ¶
func (cache *FavouriteCacheV2) Add(id string) error
func (*FavouriteCacheV2) Bust ¶
func (cache *FavouriteCacheV2) Bust()
func (*FavouriteCacheV2) Get ¶
func (cache *FavouriteCacheV2) Get() (*[]string, error)
func (*FavouriteCacheV2) Remove ¶
func (cache *FavouriteCacheV2) Remove(id string) error
Click to show internal directories.
Click to hide internal directories.