Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dialer = &net.Dialer{ Resolver: &net.Resolver{ PreferGo: true, Dial: func(ctx context.Context, network, address string) (net.Conn, error) { d := ParallelDialer{} d.Timeout = 10 * time.Second l := zerolog.New(io.Discard) return d.DialContext(ctx, "udp", []string{v4BootstrapDNS, v6BootstrapDNS}, &l) }, }, }
Functions ¶
func IPv6Available ¶
IPv6Available is like SupportsIPv6, but always do the check without caching.
func IsLinkLocalUnicastIPv6 ¶ added in v1.3.6
IsLinkLocalUnicastIPv6 checks if the provided IP is a link local unicast v6 address.
func SupportsIPv6ListenLocal ¶
func SupportsIPv6ListenLocal() bool
Types ¶
Click to show internal directories.
Click to hide internal directories.