viva.mistflake.mistflake

Undocumented in source.

Members

Structs

Mistflake
struct Mistflake

The Mistflake struct contains information about a mistflake id. The mistflake id consists of the following parts: 1111111111 1111 11111111111 10 4 11 Fields: timestamp = The timestamp field is a UNIX timestamp, and consists of 10 bits workerId = The workerId is the ID of the generator that generated the mistflake. This can be user defined or randomly generated. Consists of 4 bits id = The id field is the unique ID. For every ID that is generated in the generator, the number is incremented. Consists of 11 bits

MistflakeGenerator
struct MistflakeGenerator

The MistflakeGenerator can generate Mistflakes

MistflakeParser
struct MistflakeParser

The MistflakeParser containes functions for parsing Mistflake string representations

Meta