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 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) GetConversion(ctx context.Context, base, target string, amount float64) (*Conversion, error) + func (c *Client) GetRates(ctx context.Context, base string, limit int) ([]*Rate, error) + type Conversion struct + Amount float64 + Base string + Rate float64 + Result float64 + Target string + UpdatedAt string + 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 Rate struct + Base string + Currency string + Rate float64 + UpdatedAt string