# Functions
NewAllocator creates a new Allocator.
NewAllocatorForGC returns an allocator that can be used to run RunGC().
WithBackend sets this allocator to use backend.
WithEvents enables receiving of events.
WithMasterKeyProtection will watch for delete events on master keys and re-created them if local usage suggests that the key is still in use.
WithMax sets the maximum identifier to be allocated.
WithMin sets the minimum identifier to be allocated.
WithoutGC disables the use of the garbage collector.
WithPrefixMask sets the prefix used for all ID allocations.
# Structs
Allocator is a distributed ID allocator backed by a KVstore.
AllocatorEvent is an event sent over AllocatorEventChan.
RemoteCache represents the cache content of an additional kvstore managing identities.
# Interfaces
AllocatorKey is the interface to implement in order for a type to be used as key for the allocator.
Backend represents clients to remote ID allocation systems, such as KV Stores.
CacheMutations are the operations given to a Backend's ListAndWatch command.
# Type aliases
AllocatorOption is the base type for allocator options.
RangeFunc is the function called by RangeCache.