Versions in this module Expand all Collapse all v1 v1.4.1 May 25, 2021 v1.4.0 Apr 26, 2021 Changes in this version + var ErrImageNotFound = errors.New("image not found") + var ErrImageTooBig = errors.New("image is too big") + var ErrNoDiscogsAuth = fmt.Errorf("authentication with Discogs is not configured") + type Client struct + MinScore int + func NewClient(useragent string, delay time.Duration, discogsToken string) *Client + func (c *Client) GetArtistImage(ctx context.Context, artist string) ([]byte, error) + func (c *Client) GetFrontImage(ctx context.Context, artist, album string) ([]byte, error) + type Finder interface + GetArtistImage func(ctx context.Context, artist string) ([]byte, error) + GetFrontImage func(ctx context.Context, artist, album string) ([]byte, error)