Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2023 v0.0.1 Sep 30, 2023 Changes in this version + const DefaultPort + const DefaultServer + type Config struct + CacheSize int + CacheTTL time.Duration + DialContext aghnet.DialContextFunc + MaxConnReadSize int64 + MaxInfoLen int + MaxRedirects int + Port uint16 + ServerAddr string + Timeout time.Duration + type Default struct + func New(conf *Config) (w *Default) + func (w *Default) Process(ctx context.Context, ip netip.Addr) (wi *Info, changed bool) + type Empty struct + func (Empty) Process(_ context.Context, _ netip.Addr) (info *Info, changed bool) + type Info struct + City string + Country string + Orgname string + type Interface interface + Process func(ctx context.Context, ip netip.Addr) (info *Info, changed bool)