Documentation ¶
Index ¶
- func DumpDBs(callback func(dbAbsPath string))
- func NameVerify(nameStr string) *errors.Error
- 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
- type DBX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NameVerify ¶
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
type DBX ¶
type DBX struct {
// contains filtered or unexported fields
}
func (*DBX) Collection ¶
func (dbx *DBX) Collection(name string) (*Collection, *errors.Error)
Click to show internal directories.
Click to hide internal directories.