Documentation
¶
Index ¶
Constants ¶
View Source
const ( CWorkerIdBits = 10 // Num of WorkerId Bits CSenquenceBits = 12 // Num of Sequence Bits CWorkerIdShift = 12 CTimeStampShift = 22 CSequenceMask = 0xfff // equal as getSequenceMask() CMaxWorker = 0x3ff // equal as getMaxWorkerId() )
Variables ¶
View Source
var CEpoch = int64(time.Millisecond)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.