Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const Host + type Card struct + Code string + Image string + Suit string + Value string + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) Draw(ctx context.Context, deckID string, n int) (*DrawResult, error) + func (c *Client) New(ctx context.Context, count int, shuffle bool) (*Deck, error) + func (c *Client) Shuffle(ctx context.Context, deckID string) (*Deck, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Deck struct + ID string + Remaining int + Shuffled bool + Success bool + 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 DrawResult struct + Cards []Card + DeckID string + Remaining int + Success bool