Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Separator = []byte{'/'}
Functions ¶
This section is empty.
Types ¶
type IterOptions ¶
type MessageIterator ¶
type Storage ¶
type Storage interface { Get(key []byte) ([]byte, error) Put(key, val []byte) error BatchPut(entries []*Entry) error Iter(*IterOptions) Iterator Close() error LastKeyForPrefix(prefix []byte) []byte LastKVForPrefix(prefix, suffix []byte) []byte ForEach(fn func(msg *sgproto.Message) error) error ForRange(min, max sandflake.ID, fn func(msg *sgproto.Message) error) error ForEachWALEntry(min []byte, fn func(msg *sgproto.Message) error) error }
Click to show internal directories.
Click to hide internal directories.