Documentation ¶
Index ¶
- func Builder(config *config) backend.Builder
- func NewConfig() *config
- func NewMemoryBackend(name string, config *config) backend.Backend
- type ByteRecord
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryBackend ¶
Types ¶
type ByteRecord ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewMemoryIterator ¶
func NewMemoryIterator(records []ByteRecord) *Iterator
func (*Iterator) SeekToFirst ¶
func (i *Iterator) SeekToFirst()
func (*Iterator) SeekToLast ¶
func (i *Iterator) SeekToLast()
Click to show internal directories.
Click to hide internal directories.