Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
NewSession method
Functions ¶
This section is empty.
Types ¶
type ISession ¶
type ISession interface { Close() error Save(wr io.Writer) error Load(rd io.Reader) error CreateIndex(name, pattern string, less ...func(a, b string) bool) error ReplaceIndex(name, pattern string, less ...func(a, b string) bool) error CreateSpatialIndex(name, pattern string, rect func(item string) (min, max []float64)) error ReplaceSpatialIndex(name, pattern string, rect func(item string) (min, max []float64)) error DropIndex(name string) error Indexes() ([]string, error) ReadConfig(config *buntdb.Config) error SetConfig(config buntdb.Config) error Shrink() error View(fn func(tx *buntdb.Tx) error) error Update(fn func(tx *buntdb.Tx) error) error Begin(writable bool) (*buntdb.Tx, error) }
ISession interface
Click to show internal directories.
Click to hide internal directories.