package
0.3.750
Repository: https://github.com/fnproject/fn.git
Documentation: pkg.go.dev

# Functions

EncodeDescending returns a lexicographically sortable descending encoding of a given id, e.g.
New will generate a new Id for use.
NewWithTime returns an id that uses the milliseconds from the given time.
SetMachineId may only be called by one thread before any id generation is done.
SetMachineIdHost is a convenience wrapper to hide bit twiddling of calling SetMachineId, it has the same constraints as SetMachineId with an addition that net.IP must be a ipv4 address.
ValidateText returns true if the data is a valid encoding.

# Constants

EncodedSize is the length of a text encoded Id.
Encoding is the base 32 encoding alphabet used in Id strings.

# Type aliases

No description provided by the author