Versions in this module Expand all Collapse all v1 v1.5.2 Jun 21, 2021 Changes in this version + type ASN struct + AutonomousSystemNumber uint + AutonomousSystemOrganization string + type AnonymousIP struct + IsAnonymous bool + IsAnonymousVPN bool + IsHostingProvider bool + IsPublicProxy bool + IsResidentialProxy bool + IsTorExitNode bool + type City struct + City struct{ ... } + Continent struct{ ... } + Country struct{ ... } + Location struct{ ... } + Postal struct{ ... } + RegisteredCountry struct{ ... } + RepresentedCountry struct{ ... } + Subdivisions []struct{ ... } + Traits struct{ ... } + type ConnectionType struct + ConnectionType string + type Country struct + Continent struct{ ... } + Country struct{ ... } + RegisteredCountry struct{ ... } + RepresentedCountry struct{ ... } + Traits struct{ ... } + type Domain struct + Domain string + type Enterprise struct + City struct{ ... } + Continent struct{ ... } + Country struct{ ... } + Location struct{ ... } + Postal struct{ ... } + RegisteredCountry struct{ ... } + RepresentedCountry struct{ ... } + Subdivisions []struct{ ... } + Traits struct{ ... } + type ISP struct + AutonomousSystemNumber uint + AutonomousSystemOrganization string + ISP string + Network string + Organization string + type InvalidMethodError struct + DatabaseType string + Method string + func (e InvalidMethodError) Error() string + type Reader struct + func FromBytes(bytes []byte) (*Reader, error) + func Open(file string) (*Reader, error) + func (r *Reader) ASN(ipAddress net.IP) (*ASN, error) + func (r *Reader) AnonymousIP(ipAddress net.IP) (*AnonymousIP, error) + func (r *Reader) City(ipAddress net.IP) (*City, error) + func (r *Reader) Close() error + func (r *Reader) ConnectionType(ipAddress net.IP) (*ConnectionType, error) + func (r *Reader) Country(ipAddress net.IP) (*Country, error) + func (r *Reader) Domain(ipAddress net.IP) (*Domain, error) + func (r *Reader) Enterprise(ipAddress net.IP) (*Enterprise, error) + func (r *Reader) ISP(ipAddress net.IP) (*ISP, error) + func (r *Reader) Metadata() maxminddb.Metadata + type UnknownDatabaseTypeError struct + DatabaseType string + func (e UnknownDatabaseTypeError) Error() string