package
0.0.0-20220308170854-f83cb7a5233c
Repository: https://github.com/m-lab/annotation-service.git
Documentation: pkg.go.dev
# Functions
ASNv4Loader should be used to load ASNv4 RouteView files.
ASNv6Loader should be used to load ASNv6 RouteView files.
Geolite2Loader returns a CachingLoader that loads all geolite2 datasets.
IsLegacy checks whether the given date should be handled by the legacy GEO1 Maxmind geolite format.
LegacyV4Loader returns a CachingLoader that loads all v4 legacy datasets.
LegacyV6Loader returns a CachingLoader that loads all v6 legacy datasets.
UpdateASNDatePattern sets the pattern used to match RouteView datasets to load from GCS.
UpdateGeoliteDatePattern sets the pattern used to match Maxmind datasets to load from GCS.
UseOnlyMarchForTest hacks the regular expressions to reduce the number of datasets for testing.
# Variables
ErrNoLoader is returned if nil is passed for loader parameter.
# Type aliases
Filename is a typed value for tracking GCS filenames.