package
0.0.0-20181212134548-cf12e39f79dd
Repository: https://github.com/sipt/shuttle.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewIdWorker Func: Generate NewIdWorker with Given workerid.
No description provided by the author
ParseId Func: reverse uid to timestamp, workid, seq.
只支持指针数组,通过指针侵入数组,但是对于compare里的uintptr要做转换,如下:str := (*string)(unsafe.Pointer(x)).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
equal as getMaxWorkerId().
Num of Sequence Bits.
equal as getSequenceMask().
No description provided by the author
Num of WorkerId Bits.
No description provided by the author
# Variables
No description provided by the author