package
0.21.0
Repository: https://github.com/infrahq/infra.git
Documentation: pkg.go.dev

# Functions

New returns an ID using a random NodeID.
NewNode returns a new snowflake node that can be used to generate snowflake IDs.
Parse parses a base58 encoded value into an ID.

# Structs

A Node struct holds the basic information needed for a snowflake generator node.

# Type aliases

An ID is a custom type used for a snowflake ID.