Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UniqueIDint ¶
type UniqueIDint int
UniqueIDUint64 generates executable-invocation-unique uint64 numbers 1… Different series of uint64 from different generators does not have identity, ie. they cannot be told apart. Consider UniqueIDTypedUint64 to have identity.
Usage:
var generator parl.UniqueIDUint64 id := generator.ID()
func (*UniqueIDint) ID ¶
func (u *UniqueIDint) ID() (uniqueID int)
ID generates a unique uint64 1…. thread-safe
func (*UniqueIDint) String ¶
func (u *UniqueIDint) String() (s string)
Click to show internal directories.
Click to hide internal directories.