Versions in this module Expand all Collapse all v0 v0.1.1 Jul 19, 2021 Changes in this version + func B2ds(v []byte) string + func B2i(v []byte) uint64 + func B2s(b []byte) string + func Bconcat(slices ...[]byte) []byte + func DS2b(v string) []byte + func DS2i(v string) uint64 + func I2b(v uint64) []byte + func S2b(s string) []byte + type BS []byte + func (b BS) Bytes() []byte + func (b BS) Int() int + func (b BS) Int64() int64 + func (b BS) JSON(v interface{}) error + func (b BS) String() string + func (b BS) Uint() uint + func (b BS) Uint64() uint64 + type DB struct + func Open(path string) (*DB, error) + func (db *DB) Close() error + func (db *DB) Hdel(name string, key []byte) error + func (db *DB) HdelBucket(name string) error + func (db *DB) Hget(name string, key []byte) *Reply + func (db *DB) HgetInt(name string, key []byte) (val uint64) + func (db *DB) Hincr(name string, key []byte, step int64) (uint64, error) + func (db *DB) Hmdel(name string, keys [][]byte) error + func (db *DB) Hmget(name string, keys [][]byte) *Reply + func (db *DB) Hmset(name string, kvs ...[]byte) error + func (db *DB) HnextSequence(name string) (uint64, error) + func (db *DB) Hrscan(name string, keyStart []byte, limit int) *Reply + func (db *DB) Hscan(name string, keyStart []byte, limit int) *Reply + func (db *DB) Hsequence(name string) uint64 + func (db *DB) Hset(name string, key, val []byte) error + func (db *DB) HsetSequence(name string, v uint64) error + func (db *DB) Zdel(name string, key []byte) error + func (db *DB) ZdelBucket(name string) error + func (db *DB) Zget(name string, key []byte) *Reply + func (db *DB) Zincr(name string, key []byte, step int64) (uint64, error) + func (db *DB) Zmdel(name string, keys [][]byte) error + func (db *DB) Zmget(name string, keys [][]byte) *Reply + func (db *DB) Zmset(name string, kvs ...[]byte) error + func (db *DB) ZnextSequence(name string) (uint64, error) + func (db *DB) Zrscan(name string, keyStart, scoreStart []byte, limit int) *Reply + func (db *DB) Zscan(name string, keyStart, scoreStart []byte, limit int) *Reply + func (db *DB) Zsequence(name string) uint64 + func (db *DB) Zset(name string, key []byte, val uint64) error + func (db *DB) ZsetSequence(name string, v uint64) error + type Entry struct + Key BS + Value BS + type Reply struct + Data []BS + State string + func (r *Reply) Bytes() []byte + func (r *Reply) Dict() map[string][]byte + func (r *Reply) Int() int + func (r *Reply) Int64() int64 + func (r *Reply) JSON(v interface{}) error + func (r *Reply) KvEach(fn func(key, value BS)) int + func (r *Reply) KvLen() int + func (r *Reply) List() []Entry + func (r *Reply) NotFound() bool + func (r *Reply) OK() bool + func (r *Reply) String() string + func (r *Reply) Uint() uint + func (r *Reply) Uint64() uint64