Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const DefaultUserAgent + const Host + 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) Search(ctx context.Context, name string, count int, language string) ([]*Location, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + 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 Location struct + Country string + CountryCode string + Elevation float64 + FeatureCode string + ID int + Latitude float64 + Longitude float64 + Name string + Population int + Region string + Timezone string