Documentation ¶
Index ¶
- func Builder(config *config) backend.Builder
- func NewConfig() *config
- func NewMemoryBackend(logger log.Logger, reporter metrics.Reporter) backend.Backend
- type Iterator
- func (i *Iterator) Close()
- func (i *Iterator) Error() error
- func (i *Iterator) Key() []byte
- func (i *Iterator) Next()
- func (i *Iterator) Prev()
- func (i *Iterator) Seek(key []byte)
- func (i *Iterator) SeekToFirst()
- func (i *Iterator) SeekToLast()
- func (i *Iterator) Valid() bool
- func (i *Iterator) Value() []byte
- type PartitionMemory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryBackend ¶
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func (*Iterator) SeekToFirst ¶
func (i *Iterator) SeekToFirst()
func (*Iterator) SeekToLast ¶
func (i *Iterator) SeekToLast()
type PartitionMemory ¶
func NewPartitionMemoryBackend ¶
func NewPartitionMemoryBackend(partitions int, logger log.Logger, reporter metrics.Reporter) PartitionMemory
Click to show internal directories.
Click to hide internal directories.