Documentation ¶
Index ¶
- func Dump(callback func(dbAbsPath string))
- func NameVerify(nameStr string) *errors.Error
- type Cang
- type Collection
- func (coll *Collection) Get(key string) ([]byte, *errors.Error)
- func (coll *Collection) Iter(callback func(k string, byteData []byte) bool) *errors.Error
- func (coll *Collection) MustGet(key string, v interface{}) *errors.Error
- func (coll *Collection) Put(key string, data interface{}) *errors.Error
- func (coll *Collection) Remove(key string) *errors.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NameVerify ¶
Types ¶
type Cang ¶
type Cang struct {
// contains filtered or unexported fields
}
func (*Cang) Collection ¶
func (dbx *Cang) Collection(name string) (*Collection, *errors.Error)
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.