package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

DBIncrementer wraps a suitable subset of *kv.DB for use with an allocator.
NewAllocator creates a new ID allocator which increments the specified key in allocation blocks of size blockSize.

# Structs

An Allocator is used to increment a key in allocation blocks of arbitrary size.
Options are the options passed to NewAllocator.

# Type aliases

Incrementer abstracts over the database which holds the key counter.