Versions in this module Expand all Collapse all v1 v1.1.2 Apr 3, 2024 v1.1.1 Apr 3, 2024 Changes in this version + var Comparer = &base.Comparer + var MaxSuffixLen = 1 + len(fmt.Sprintf("%d", int64(math.MaxInt64))) + func Key(k Keyspace, i int64) []byte + func KeyAt(k Keyspace, i int64, t int64) []byte + func ParseSuffix(s []byte) (int64, error) + func RandomSeparator(dst, a, b []byte, suffix int64, maxLength int, rng *rand.Rand) []byte + func Suffix(t int64) []byte + func SuffixLen(t int64) int + func WriteKey(dst []byte, k Keyspace, i int64) int + func WriteKeyAt(dst []byte, k Keyspace, i int64, t int64) int + func WriteSuffix(dst []byte, t int64) int + type Keyspace interface + Count func() int64 + EveryN func(n int64) Keyspace + MaxLen func() int + Slice func(i, j int64) Keyspace + func Alpha(maxLength int) Keyspace + func Divvy(ks Keyspace, n int64) []Keyspace