cproto

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 11 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) 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, index, jsonPath, indexType, fieldType string, opts bindings.IndexOptions, collateMode int) error

func (*NetCProto) CloneNamespace

func (binding *NetCProto) CloneNamespace(src string, dst string) error

func (*NetCProto) CloseNamespace

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

func (*NetCProto) Commit

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

func (*NetCProto) ConfigureIndex

func (binding *NetCProto) ConfigureIndex(namespace, index, config string) error

func (*NetCProto) DeleteQuery

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

func (*NetCProto) DisableLogger

func (binding *NetCProto) DisableLogger()

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) GetMeta

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

func (*NetCProto) GetStats

func (binding *NetCProto) GetStats() bindings.Stats

func (*NetCProto) Init

func (binding *NetCProto) Init(u *url.URL) (err error)

func (*NetCProto) ModifyItem

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

func (*NetCProto) OpenNamespace

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

func (*NetCProto) Ping

func (binding *NetCProto) Ping() error

func (*NetCProto) PutMeta

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

func (*NetCProto) RenameNamespace

func (binding *NetCProto) RenameNamespace(src string, dst string) error

func (*NetCProto) ResetStats

func (binding *NetCProto) ResetStats()

func (*NetCProto) Select

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

func (*NetCProto) SelectQuery

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

Jump to

Keyboard shortcuts

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