package
0.5.10
Repository: https://github.com/m-lab/uuid-annotator.git
Documentation: pkg.go.dev

# Functions

FindDirection determines whether the IPs in the given ID map to the server or client annotations.

# Constants

Specific directions.
Specific directions.
Specific directions.

# Variables

ErrNoAnnotation is for when we could not perform an annotation for some reason.

# Structs

Annotations contains the standard columns we would like to add as annotations for every UUID.
ClientAnnotations are client-specific fields for annotation metadata with pointers to geo location and ASN data.
The Geolocation struct contains all the information needed for the geolocation MaxMind Geo1 and Geo2 data used to annotate BigQuery rows.
Network contains the Autonomous System information associated with the IP prefix.
ServerAnnotations are server-specific fields populated by the uuid-annotator.
A System is the base element.

# Interfaces

Annotator is the interface that all systems that want to add metadata should implement.

# Type aliases

Direction gives us an enum to keep track of which end of the connection is the server, because we are informed of connections without regard to which end is the local server.