Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const Host + var KnownCurrencies = []string + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) GetLatest(ctx context.Context) ([]RateRecord, error) + func (c *Client) GetRates(ctx context.Context, currency, freq, start, end string, limit int) ([]RateRecord, error) + func (c *Client) GetRatesURL(ctx context.Context, rawURL, currency string) ([]RateRecord, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + 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 RateRecord struct + Currency string + Date string + Rate float64