sqlite

package
v0.0.0-...-e68299f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheAllowedCountries

func CacheAllowedCountries(countries *u.Continents) (err error)

func CacheAllowedGitHub

func CacheAllowedGitHub(metaData *u.GitHub) (err error)

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

func PrepSQLite(verbose bool) (err error)

Prepares the SQLite database for caching exceptions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL