Versions in this module Expand all Collapse all v1 v1.0.1 Nov 16, 2017 v1.0.0 Sep 27, 2017 Changes in this version + type Generator interface + GetExisting func() uint64 + GetNew func() uint64 + type GeneratorSource interface + New func() Generator + type Monotonic struct + func (m *Monotonic) GetExisting() uint64 + func (m *Monotonic) GetNew() uint64 + type MonotonicSource struct + Count uint64 + func (m *MonotonicSource) New() Generator + type Persistent struct + func (p *Persistent) GetExisting() uint64 + func (p *Persistent) GetNew() uint64 + type PersistentSource struct + KeepFor uint + Source GeneratorSource + func (p *PersistentSource) New() Generator + type Uniform struct + func (u *Uniform) GetExisting() uint64 + func (u *Uniform) GetNew() uint64 + type UniformSource struct + Max uint64 + func (u *UniformSource) New() Generator + type Zipfian struct + func (z *Zipfian) GetExisting() uint64 + func (z *Zipfian) GetNew() uint64 + type ZipfianSource struct + Max uint64 + func (z *ZipfianSource) New() Generator