Versions in this module Expand all Collapse all v1 v1.1.1 Oct 13, 2016 Changes in this version + const Version + func DecodeDump(p []byte) (interface{}, error) + func EncodeDump(obj interface{}) ([]byte, error) + type BinEntry struct + DB uint32 + ExpireAt uint64 + Key []byte + Value []byte + func (e *BinEntry) ObjEntry() (*ObjEntry, error) + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (e *Encoder) EncodeFooter() error + func (e *Encoder) EncodeHeader() error + func (e *Encoder) EncodeObject(db uint32, key []byte, expireat uint64, obj interface{}) error + type HSortByField struct + func (by HSortByField) Less(i, j int) bool + type Hash []*HashElement + func (hash Hash) Len() int + func (hash Hash) Swap(i, j int) + type HashElement struct + Field []byte + Value []byte + type List [][]byte + type Loader struct + func NewLoader(r io.Reader) *Loader + func (l *Loader) Footer() error + func (l *Loader) Header() error + func (l *Loader) NextBinEntry() (*BinEntry, error) + func (r Loader) Read(p []byte) (int, error) + type ObjEntry struct + DB uint32 + ExpireAt uint64 + Key []byte + Value interface{} + func (e *ObjEntry) BinEntry() (*BinEntry, error) + type Set [][]byte + type String []byte + type ZSet []*ZSetElement + func (zset ZSet) Len() int + func (zset ZSet) Swap(i, j int) + type ZSetElement struct + Member []byte + Score float64 + type ZSortByMember struct + func (by ZSortByMember) Less(i, j int) bool + type ZSortByScore struct + func (by ZSortByScore) Less(i, j int) bool