Documentation
¶
Index ¶
- type ArtistInfoCache
- func (a *ArtistInfoCache) Get(ctx context.Context, artistID int) (*db.ArtistInfo, error)
- func (a *ArtistInfoCache) GetOrLookup(ctx context.Context, artistID int) (*db.ArtistInfo, error)
- func (a *ArtistInfoCache) Lookup(ctx context.Context, artist *db.Artist) (*db.ArtistInfo, error)
- func (a *ArtistInfoCache) Refresh() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtistInfoCache ¶
type ArtistInfoCache struct {
// contains filtered or unexported fields
}
func (*ArtistInfoCache) Get ¶
func (a *ArtistInfoCache) Get(ctx context.Context, artistID int) (*db.ArtistInfo, error)
func (*ArtistInfoCache) GetOrLookup ¶
func (a *ArtistInfoCache) GetOrLookup(ctx context.Context, artistID int) (*db.ArtistInfo, error)
func (*ArtistInfoCache) Lookup ¶
func (a *ArtistInfoCache) Lookup(ctx context.Context, artist *db.Artist) (*db.ArtistInfo, error)
func (*ArtistInfoCache) Refresh ¶
func (a *ArtistInfoCache) Refresh() error
Click to show internal directories.
Click to hide internal directories.