Versions in this module Expand all Collapse all v1 v1.1.0 Jul 10, 2026 v1.0.0 Jul 6, 2026 Changes in this version + type Allocation struct + ID uuid.UUID + Value int64 + type Allocator struct + func New(idgen model.IDGen) *Allocator + func (a *Allocator) Allocate(ctx context.Context, db database.TenantDB, seriesKey string) (Allocation, error) + func (a *Allocator) Peek(ctx context.Context, db database.TenantDB, seriesKey string) (int64, error) + func (a *Allocator) Void(ctx context.Context, db database.TenantDB, seriesKey string, value int64, ...) error