Documentation ¶
Index ¶
- func CacheAllowedCountries(countries *u.Continents) (err error)
- func CacheAllowedGitHub(metaData *u.GitHub) (err error)
- func CacheAllowedZones(allowedZones *u.Allowedzones) (err error)
- func CacheBlockedCountries(countries *u.Continents) (err error)
- func CacheBlockedZones(blockedZones *u.Blockedzones) (err error)
- func CacheZoneFiles() (err error)
- func ListAllowedCountries() (err error)
- func ListAllowedZones() (err error)
- func ListBlockedCountries() (err error)
- func ListBlockedZones() (err error)
- func PrepSQLite(verbose bool) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheAllowedCountries ¶
func CacheAllowedCountries(countries *u.Continents) (err error)
func CacheAllowedGitHub ¶
CacheGitHub caches the info from the GitHub meta endpoint into sqlite database
func CacheAllowedZones ¶
func CacheAllowedZones(allowedZones *u.Allowedzones) (err error)
CacheBlockedZones caches allowed CIDR records from the JSON files in sqlite database
func CacheBlockedCountries ¶
func CacheBlockedCountries(countries *u.Continents) (err error)
CacheCountries caches countrycode records per continent from the JSON files in sqlite database
func CacheBlockedZones ¶
func CacheBlockedZones(blockedZones *u.Blockedzones) (err error)
CacheBlockedZones caches blocked CIDR records from the JSON files in sqlite database
func CacheZoneFiles ¶
func CacheZoneFiles() (err error)
func ListAllowedCountries ¶
func ListAllowedCountries() (err error)
ListAllowedZones prompts the allowed countries as cached in sqlite
func ListAllowedZones ¶
func ListAllowedZones() (err error)
ListAllowedZones prompts the allowed zones as cached in sqlite
func ListBlockedCountries ¶
func ListBlockedCountries() (err error)
ListBlockedCountries prompts the blocked countries as cached in sqlite
func ListBlockedZones ¶
func ListBlockedZones() (err error)
ListBlockedZones prompts the blocked zones as cached in sqlite
func PrepSQLite ¶
Prepares the SQLite database for caching exceptions
Types ¶
This section is empty.