Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDGenerator ¶ added in v0.55.0
type IDGenerator struct {
// contains filtered or unexported fields
}
IDGenerator no mutex required, markets work deterministically, and sequentially.
func New ¶
func New(rootID string) *IDGenerator
New returns an idGenerator, and is used to abstract this type.
func (*IDGenerator) NextID ¶ added in v0.55.0
func (i *IDGenerator) NextID() string
Click to show internal directories.
Click to hide internal directories.