package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

GlobalMachineID returns the global machine id.
NewDefaultIDGenerator returns an *IDGenerator that uses the currently set global machine ID.
NewIDGenerator returns a new IDGenerator.
SetGlobalMachineID returns the global machine id.
WithMachineID uses the low 12 bits of machineID to set the machine ID for the snowflake ID.

# Variables

ErrGlobalIDBadVal means that the global machine id value wasn't properly set.

# Structs

IDGenerator holds the ID generator.

# Type aliases

IDGeneratorOp is an option for an IDGenerator.