Documentation ¶
Index ¶
- func ChangeClientNumber(in int)
- func GetClient() *client.Client
- type CacheNode
- type LDB
- func (d *LDB) Close()
- func (d *LDB) LGet(chain uint64, tbName string, key []byte) []byte
- func (d *LDB) LGetNext(chain uint64, tbName string, prefix []byte) (k, v []byte)
- func (d *LDB) LSet(chain uint64, tbName string, key, value []byte) error
- func (d *LDB) SetCache(tbName string)
- func (d *LDB) SetNotDisk(tbName string, cap int)
- type LRUCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeClientNumber ¶ added in v0.3.9
func ChangeClientNumber(in int)
ChangeClientNumber change client number
Types ¶
type LDB ¶
type LDB struct {
// contains filtered or unexported fields
}
LDB Local DB
func (*LDB) SetNotDisk ¶ added in v0.3.9
SetNotDisk the data only in memory
Click to show internal directories.
Click to hide internal directories.