Documentation
¶
Index ¶
Constants ¶
View Source
const ( DBFilename = "IP2LOCATION-LITE-DB9.BIN" DBFileLocation = "/tmp/location_db.bin" DBZIPFileLocation = "/tmp/location_db.bin" + ".zip" // REF: Original location from ip2location DB is: "https://www.ip2location.com/download/?token=OpOljbgT6K2WJnFrFBBmBzRVNpHlcYqNN4CMeGavvh0pPOpyu16gKQyqvDMxTDF4&file=DB9LITEBIN" DbUrl = "https://raw.githubusercontent.com/netobserv/flowlogs-pipeline/main/contrib/location/location.db" )
Variables ¶
This section is empty.
Functions ¶
func InitLocationDB ¶
func InitLocationDB() error
Types ¶
Click to show internal directories.
Click to hide internal directories.