cproto

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 14 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetBuffer

type NetBuffer struct {
	// contains filtered or unexported fields
}

func (*NetBuffer) Fetch added in v1.5.0

func (buf *NetBuffer) Fetch(offset, limit int, withItems bool) (err error)

func (*NetBuffer) Free

func (buf *NetBuffer) Free()

func (*NetBuffer) GetBuf

func (buf *NetBuffer) GetBuf() []byte

type NetCProto

type NetCProto struct {
	// contains filtered or unexported fields
}

func (*NetCProto) AddIndex

func (binding *NetCProto) AddIndex(namespace string, indexDef bindings.IndexDef) error

func (*NetCProto) Clone added in v1.9.7

func (binding *NetCProto) Clone() bindings.RawBinding

func (*NetCProto) CloseNamespace

func (binding *NetCProto) CloseNamespace(namespace string) error

func (*NetCProto) Commit

func (binding *NetCProto) Commit(namespace string) error

func (*NetCProto) DeleteQuery

func (binding *NetCProto) DeleteQuery(nsHash int, data []byte) (bindings.RawBuffer, error)

func (*NetCProto) DisableLogger

func (binding *NetCProto) DisableLogger()

func (*NetCProto) DropIndex added in v1.9.2

func (binding *NetCProto) DropIndex(namespace, index string) error

func (*NetCProto) DropNamespace

func (binding *NetCProto) DropNamespace(namespace string) error

func (*NetCProto) EnableLogger

func (binding *NetCProto) EnableLogger(log bindings.Logger)

func (*NetCProto) EnableStorage

func (binding *NetCProto) EnableStorage(path string) error

func (*NetCProto) Finalize added in v1.9.7

func (binding *NetCProto) Finalize() error

func (*NetCProto) GetMeta

func (binding *NetCProto) GetMeta(namespace, key string) (bindings.RawBuffer, error)

func (*NetCProto) Init

func (binding *NetCProto) Init(u *url.URL, options ...interface{}) (err error)

func (*NetCProto) ModifyItem

func (binding *NetCProto) ModifyItem(nsHash int, namespace string, format int, data []byte, mode int, precepts []string, stateToken int, txID int) (bindings.RawBuffer, error)

func (*NetCProto) OnChangeCallback added in v1.9.5

func (binding *NetCProto) OnChangeCallback(f func())

func (*NetCProto) OpenNamespace

func (binding *NetCProto) OpenNamespace(namespace string, enableStorage, dropOnFormatError bool, cacheMode uint8) error

func (*NetCProto) Ping

func (binding *NetCProto) Ping() error

func (*NetCProto) PutMeta

func (binding *NetCProto) PutMeta(namespace, key, data string) error

func (*NetCProto) Select

func (binding *NetCProto) Select(query string, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)

func (*NetCProto) SelectQuery

func (binding *NetCProto) SelectQuery(data []byte, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)

func (*NetCProto) UpdateIndex added in v1.9.7

func (binding *NetCProto) UpdateIndex(namespace string, indexDef bindings.IndexDef) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL