Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GeoInfo ¶
GeoInfo represents the geo information
func DefaultGeoInfo ¶
DefaultGeoInfo creates a default GeoInfo object with the specified IP and default area
type Region ¶
Region represents a geo region interface
func InitGeoLite ¶
InitGeoLite initializes a new GeoLiteRegion using the given database path
Click to show internal directories.
Click to hide internal directories.