Documentation ¶
Index ¶
- Variables
- type KV
- type Leveldb
- type Remember
- func (r *Remember) Close() (err error)
- func (r *Remember) Delete(key []byte) (err error)
- func (r *Remember) Get(key []byte) (value []byte, err error)
- func (r *Remember) KVEncodeKey(key []byte) (encodeKey []byte)
- func (r *Remember) Lpop(key []byte) ([]byte, error)
- func (r *Remember) Lpush(key, elVlaue []byte) error
- func (r *Remember) Put(key, value []byte) (err error)
- func (r *Remember) Rpop(key []byte) ([]byte, error)
- func (r *Remember) Rpush(key, elVlaue []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("Not found")
)
Functions ¶
This section is empty.
Types ¶
type Leveldb ¶
func NewLeveldb ¶
Click to show internal directories.
Click to hide internal directories.