Documentation ¶
Index ¶
- func GetDefaultNewOrmer() orm.Ormer
- func GetNewOrmer(dbName string) orm.Ormer
- func InitRDB(cfg config.DataSource) error
- type Ldb
- func (this *Ldb) DelKey(key []byte) error
- func (this *Ldb) DeleteByte(key []byte) error
- func (this *Ldb) GetByte(key []byte) ([]byte, error)
- func (this *Ldb) GetDb() *leveldb.DB
- func (this *Ldb) GetPrifix(keyPrefix []byte) (map[string]string, error)
- func (this *Ldb) PutByte(key, value []byte) error
- func (this *Ldb) PutStrWithPrifix(keyPri, key, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRDB ¶
func InitRDB(cfg config.DataSource) error
Types ¶
Click to show internal directories.
Click to hide internal directories.