Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Range ¶
type Range struct {
// contains filtered or unexported fields
}
Range represents a contiguous UUID region which is split into a number of partitions.
func NewFullRange ¶
NewFullRange creates a new range that uses the full UUID value space and splits it into the provided number of partitions.
func NewRange ¶
NewRange creates a new range [start, end) and splits it into the provided number of partitions.
func (*Range) PartitionExtents ¶
PartitionExtents returns the [start, end) range for the requested partition.
Click to show internal directories.
Click to hide internal directories.