Versions in this module Expand all Collapse all v0 v0.1.0 Jan 6, 2021 Changes in this version + func CaptureException() + func ConsistentHashSelector(cons *consistent.Consistent, id string) selector.SelectOption + func ErrCheck(err error, param ...interface{}) (*zerolog.Event, bool) + func InitMachineID(machineID int16) + func MachineID(id int64) int16 + func MachineIDHigh(id int64) int16 + func MachineIDLow(id int64) int16 + func NewPrometheusHandlerWrapper(opts ...server.Option) server.HandlerWrapper + func NextID(tp int) (int64, error) + func RelocatePath() error + func SectionIDRandSelector(id int64) selector.SelectOption + func SpecificIDSelector(id int64) selector.SelectOption + type FakeRandom struct + func NewFakeRandom(seed int) *FakeRandom + func (f *FakeRandom) Rand() int + func (f *FakeRandom) RandSection(min, max int) int + func (f *FakeRandom) Reset(seed int) + type Snowflakes struct + type WaitGroupWrapper struct + func (w *WaitGroupWrapper) Wrap(cb func())