Documentation
¶
Overview ¶
Package ipinfo provides utility functions for translating IP information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ZoneFromHost ¶
ZoneFromHost returns the zone for the given host.
func ZoneFromIP ¶
func ZoneFromIP(ctx context.Context, ip string, netLookupAddr func(ip string) ([]string, error)) string
ZoneFromIP returns the zone for the given IP.
func ZonesFromHosts ¶
ZonesFromHosts returns the zones for the given hosts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.