Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalIdGen ¶
type GlobalIdGen struct { MachineId int64 // contains filtered or unexported fields }
func NewGlobalIdGen ¶
func NewGlobalIdGen(machineId int64) (*GlobalIdGen, error)
func (*GlobalIdGen) GetId ¶
func (gi *GlobalIdGen) GetId() int64
Click to show internal directories.
Click to hide internal directories.