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 + type Config struct + CacheSize int + CacheTTL time.Duration + Exchanger Exchanger + type Default struct + func New(conf *Config) (r *Default) + func (r *Default) Process(ip netip.Addr) (host string, changed bool) + type Empty struct + func (Empty) Process(_ netip.Addr) (host string, changed bool) + type Exchanger interface + Exchange func(ip netip.Addr) (host string, ttl time.Duration, err error) + type Interface interface + Process func(ip netip.Addr) (host string, changed bool)