package
0.0.0-20240905193749-e586cd111579
Repository: https://github.com/jvanrhyn/brgeo.git
Documentation: pkg.go.dev

# Functions

AddCacheItem sets an item in the cache for the given key.
GetCacheById retrieves an item from the cache for the given key.
GetEnvFilePath returns the path to the .env file in the current executable's directory.
GetGeoInfo accepts an IP Address to perform a lookup of the geolocation information of the IP Address form KeyCDNs' Geo service.
InitDatabase initializes the database connection and migrates the LookupRequest model.
Record records a new lookup request in the database.

# Variables

No description provided by the author

# Type aliases

CacheItem struct holds the string key and the cached pointer of the item being cached.