Documentation
¶
Index ¶
Constants ¶
View Source
const ( CountryFile = "server-country.mmdb" AsnFile = "origin-asn.mmdb" )
Files of sapics/ip-location-db (PDDL, no attribution required).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locator ¶
type Locator struct {
// contains filtered or unexported fields
}
Locator resolves fibre hosts in the background; Locate never touches DNS.
func NewLocator ¶
func NewLocator(dir string, hosts HostsSource) (*Locator, error)
Click to show internal directories.
Click to hide internal directories.