Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + var ErrNotFound = fmt.Errorf("not found") + var ErrRateLimited = fmt.Errorf("rate limited") + type Audio struct + BitRate int + Creator string + CreatorURL string + DetailURL string + Duration int + ForeignLandingURL string + ID string + License string + LicenseURL string + LicenseVersion string + Provider string + SampleRate int + Source string + Tags []string + Thumbnail string + Title string + URL string + type AudioSearchParams struct + License string + Page int + PageSize int + Provider string + type Client struct + BaseURL string + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, rawURL string) ([]byte, error) + func (c *Client) SearchAudio(ctx context.Context, query string, p AudioSearchParams) ([]*Audio, error) + func (c *Client) SearchImages(ctx context.Context, query string, p ImageSearchParams) ([]*Image, error) + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Image struct + Creator string + CreatorURL string + DetailURL string + ForeignLandingURL string + Height int + ID string + License string + LicenseURL string + LicenseVersion string + Provider string + Source string + Tags []string + Thumbnail string + Title string + URL string + Width int + type ImageSearchParams struct + License string + Page int + PageSize int + Provider string + type License struct + Code string + Commercial bool + Derivatives string + Name string + URL string + func KnownLicenses() []*License