Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSequenceRollover = errors.New("flake generator sequence rollover")
ErrSequenceRollover is an error when the sequence number rolls over and the epoch time has not incremented
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator will create a new id from the worker
Click to show internal directories.
Click to hide internal directories.