Documentation ¶
Index ¶
- func CGoLogger(level int, msg string)
- type Builtin
- func (binding *Builtin) AddIndex(namespace string, indexDef bindings.IndexDef) error
- func (binding *Builtin) Clone() bindings.RawBinding
- func (binding *Builtin) CloseNamespace(namespace string) error
- func (binding *Builtin) Commit(namespace string) error
- func (binding *Builtin) DeleteQuery(nsHash int, data []byte) (bindings.RawBuffer, error)
- func (binding *Builtin) DisableLogger()
- func (binding *Builtin) DropIndex(namespace, index string) error
- func (binding *Builtin) DropNamespace(namespace string) error
- func (binding *Builtin) EnableLogger(log bindings.Logger)
- func (binding *Builtin) EnableStorage(path string) error
- func (binding *Builtin) Finalize() error
- func (binding *Builtin) GetMeta(namespace, key string) (bindings.RawBuffer, error)
- func (binding *Builtin) Init(u *url.URL, options ...interface{}) error
- func (binding *Builtin) ModifyItem(nsHash int, namespace string, format int, data []byte, mode int, ...) (bindings.RawBuffer, error)
- func (binding *Builtin) OpenNamespace(namespace string, enableStorage, dropOnFormatError bool, cacheMode uint8) error
- func (binding *Builtin) Ping() error
- func (binding *Builtin) PutMeta(namespace, key, data string) error
- func (binding *Builtin) Select(query string, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)
- func (binding *Builtin) SelectQuery(data []byte, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)
- func (binding *Builtin) UpdateIndex(namespace string, indexDef bindings.IndexDef) error
- type Logger
- type RawCBuffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builtin ¶
type Builtin struct {
// contains filtered or unexported fields
}
func (*Builtin) Clone ¶ added in v1.9.7
func (binding *Builtin) Clone() bindings.RawBinding
func (*Builtin) CloseNamespace ¶
func (*Builtin) DeleteQuery ¶
func (*Builtin) DisableLogger ¶
func (binding *Builtin) DisableLogger()
func (*Builtin) DropNamespace ¶
func (*Builtin) EnableLogger ¶
func (*Builtin) EnableStorage ¶
func (*Builtin) ModifyItem ¶
func (*Builtin) OpenNamespace ¶
func (*Builtin) SelectQuery ¶
type RawCBuffer ¶
type RawCBuffer struct {
// contains filtered or unexported fields
}
func (*RawCBuffer) Free ¶
func (buf *RawCBuffer) Free()
func (*RawCBuffer) FreeFinalized ¶
func (buf *RawCBuffer) FreeFinalized()
func (*RawCBuffer) GetBuf ¶
func (buf *RawCBuffer) GetBuf() []byte
Click to show internal directories.
Click to hide internal directories.