Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Breed struct + Adaptability int + Affection int + Description string + EnergyLevel int + ID string + Indoor int + Intelligence int + LifeSpan string + Name string + Origin string + Temperament string + WeightMetric string + WikipediaURL string + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, url string) ([]byte, error) + func (c *Client) GetBreed(ctx context.Context, id string) (*Breed, error) + func (c *Client) GetImage(ctx context.Context, id string) (*Image, error) + func (c *Client) ListBreeds(ctx context.Context, limit int) ([]*Breed, error) + func (c *Client) ListImages(ctx context.Context, limit int, breedID string) ([]*Image, error) + func (c *Client) SearchBreeds(ctx context.Context, query string) ([]*Breed, 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 + Height int + ID string + URL string + Width int