package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Nov 30, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
Creates a new, random token.
NextID can generate ~1M ints per second for a given nodeID.
nodeID must be less than 64.
func SplitID(id int64) (unixTime, nodeID, counter int64)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.