[−][src]Module akashi::snowflake
Unique 64-bit IDs.
Structs
SnowflakeGenerator | Generates |
Constants
EPOCH_SECONDS | The epoch used when generating |
MAX_GROUP_ID | The highest possible worker ID a |
MAX_WORKER_ID | The highest possible worker ID a |
Functions
snowflake_group_id | Get the group ID from a |
snowflake_sequence | Get the sequence number from a |
snowflake_timestamp | Get the time at which a |
snowflake_worker_id | Get the worker ID from a |
Type Definitions
Snowflake | This type is used to represent unique IDs across Akashi. |