Documentation ¶
Index ¶
- Variables
- 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 ¶
View Source
var Permission os.FileMode = 0666
Permission Permission of local database
Functions ¶
Types ¶
type LDB ¶
type LDB struct {
// contains filtered or unexported fields
}
LDB Local DB
func (*LDB) SetNotDisk ¶
SetNotDisk the data only in memory
Click to show internal directories.
Click to hide internal directories.