Versions in this module Expand all Collapse all v0 v0.1.1 Jun 14, 2026 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) BatchLookup(ctx context.Context, ips []string) ([]*IPInfo, error) + func (c *Client) LookupIP(ctx context.Context, ip string) (*IPInfo, error) + func (c *Client) Me(ctx context.Context) (*IPInfo, 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) (string, string, error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(t, id string) (string, error) + func (Domain) Register(app *kit.App) + type IPInfo struct + City string + Country string + Hostname string + IP string + Lat string + Lon string + Org string + Postal string + Region string + Timezone string