Versions in this module Expand all Collapse all v0 v0.1.3 Jun 25, 2022 v0.1.0 Jun 25, 2022 Changes in this version + func FetchExternalIP(resolver Resolver) (net.IP, error) + type DynamicIP struct + func (dynamicIP *DynamicIP) Stop() + func (dynamicIP *DynamicIP) UpdateExternalIP() + type IFConfigResolver struct + func (r *IFConfigResolver) IsResolver() bool + func (r *IFConfigResolver) Resolve() (net.IP, error) + type IPManager interface + Stop func() + func NewDynamicIPManager(resolver Resolver, updateTimeout time.Duration, log logging.Logger, ...) IPManager + type NoDynamicIP struct + func (noDynamicIP *NoDynamicIP) Stop() + type NoResolver struct + func (r *NoResolver) IsResolver() bool + func (r *NoResolver) Resolve() (net.IP, error) + type OpenDNSResolver struct + func NewOpenDNSResolver() *OpenDNSResolver + func (r *OpenDNSResolver) IsResolver() bool + func (r *OpenDNSResolver) Resolve() (net.IP, error) + type Resolver interface + IsResolver func() bool + Resolve func() (net.IP, error) + func NewResolver(opt string) Resolver