Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultUidGenerator ¶
type DefaultUidGenerator struct { TimeBits int WorkerBits int SeqBits int EpochStr string // contains filtered or unexported fields }
func NewDefaultUidGenerator ¶
func NewDefaultUidGenerator() *DefaultUidGenerator
func (*DefaultUidGenerator) GetUID ¶
func (generator *DefaultUidGenerator) GetUID() (uint64, error)
func (*DefaultUidGenerator) ParseUID ¶
func (generator *DefaultUidGenerator) ParseUID(uid uint64) string
Click to show internal directories.
Click to hide internal directories.