Documentation ¶
Index ¶
- func BytesToInt(b []byte) int
- func Delete(bucket, key []byte) error
- func Get(bucket, key []byte, decoder func([]byte) error) error
- func GetByPrefix(bucket, prefix []byte, decoder func([]byte, []byte) error) error
- func GetValue(bucket, key []byte) ([]byte, error)
- func HasByPrefix(bucket, prefix []byte) (bool, error)
- func Incr(bucket, key []byte, incr int) (int, error)
- func IntToBytes(n int) []byte
- func Put(bucket, key, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByPrefix ¶
GetByPrefix 根据前缀获取
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.