Documentation
¶
Index ¶
- type Range
- func (r *Range) Contains(blockNum uint64) bool
- func (r *Range) ContainsBlockRef(blockRef bstream.BlockRef) bool
- func (r *Range) Equals(other *Range) bool
- func (r *Range) IsNext(next *Range, size uint64) bool
- func (r *Range) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (r *Range) Next(size uint64) *Range
- func (r *Range) Previous(size uint64) *Range
- func (r *Range) Size() uint64
- func (r *Range) Split(chunkSize uint64) []*Range
- func (r *Range) String() string
- type Ranges
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Range ¶
func ParseRange ¶ added in v0.0.14
func (*Range) ContainsBlockRef ¶ added in v0.0.14
func (*Range) MarshalLogObject ¶
func (r *Range) MarshalLogObject(enc zapcore.ObjectEncoder) error
type Ranges ¶
type Ranges []*Range
func ParseRanges ¶ added in v0.0.14
func (Ranges) MergedBuckets ¶ added in v0.0.14
Click to show internal directories.
Click to hide internal directories.