Documentation ¶
Index ¶
- type CmdPackage
- type DB
- func (d *DB) Del(index uint32, args ...[]byte) interface{}
- func (d *DB) Expire(index uint32, args ...[]byte) interface{}
- func (d *DB) Get(index uint32, args ...[]byte) interface{}
- func (d *DB) Hash(bytes []byte) uint32
- func (d *DB) LLen(index uint32, args ...[]byte) interface{}
- func (d *DB) RLPop(index uint32, args ...[]byte) interface{}
- func (d *DB) RPush(index uint32, args ...[]byte) interface{}
- func (d *DB) SAdd(index uint32, args ...[]byte) interface{}
- func (d *DB) SMembers(index uint32, args ...[]byte) interface{}
- func (d *DB) Set(index uint32, args ...[]byte) interface{}
- func (d *DB) SetEx(index uint32, args ...[]byte) interface{}
- func (d *DB) SetNx(index uint32, args ...[]byte) interface{}
- func (d *DB) SisMember(index uint32, args ...[]byte) interface{}
- func (d *DB) Work()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdPackage ¶
type CmdPackage struct { Args [][]byte Ch chan interface{} }
type DB ¶
type DB struct { StrMap []map[string][]byte ListMap []map[string]*list.List SetMap []map[string]*data_struct.Set ZSkipListMap []map[string]*data_struct.ZSkipList ExecQueue []chan CmdPackage UseCpuNum uint32 // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.