Documentation ¶
Index ¶
- type LoggerOwner
- type MockConnFactory
- type MockConnection
- type NetBuffer
- type NetCProto
- func (binding *NetCProto) AddIndex(ctx context.Context, namespace string, indexDef bindings.IndexDef) error
- func (binding *NetCProto) BeginTx(ctx context.Context, namespace string) (txCtx bindings.TxCtx, err error)
- func (binding *NetCProto) Clone() bindings.RawBinding
- func (binding *NetCProto) CloseNamespace(ctx context.Context, namespace string) error
- func (binding *NetCProto) Commit(ctx context.Context, namespace string) error
- func (binding *NetCProto) CommitTx(txCtx *bindings.TxCtx) (bindings.RawBuffer, error)
- func (binding *NetCProto) DeleteQuery(ctx context.Context, nsHash int, data []byte) (bindings.RawBuffer, error)
- func (binding *NetCProto) DeleteQueryTx(txCtx *bindings.TxCtx, rawQuery []byte) error
- func (binding *NetCProto) DisableLogger()
- func (binding *NetCProto) DropIndex(ctx context.Context, namespace, index string) error
- func (binding *NetCProto) DropNamespace(ctx context.Context, namespace string) error
- func (binding *NetCProto) EnableLogger(log bindings.Logger)
- func (binding *NetCProto) Finalize() error
- func (binding *NetCProto) GetDSNs() []url.URL
- func (binding *NetCProto) GetLogger() bindings.Logger
- func (binding *NetCProto) GetMeta(ctx context.Context, namespace, key string) (bindings.RawBuffer, error)
- func (binding *NetCProto) GetReplicationStat(f func(ctx context.Context) (*bindings.ReplicationStat, error))
- func (binding *NetCProto) Init(u []url.URL, options ...interface{}) (err error)
- func (binding *NetCProto) ModifyItem(ctx context.Context, nsHash int, namespace string, format int, data []byte, ...) (bindings.RawBuffer, error)
- func (binding *NetCProto) ModifyItemTx(txCtx *bindings.TxCtx, format int, data []byte, mode int, precepts []string, ...) error
- func (binding *NetCProto) ModifyItemTxAsync(txCtx *bindings.TxCtx, format int, data []byte, mode int, precepts []string, ...)
- func (binding *NetCProto) OnChangeCallback(f func())
- func (binding *NetCProto) OpenNamespace(ctx context.Context, namespace string, enableStorage, dropOnFormatError bool) error
- func (binding *NetCProto) Ping(ctx context.Context) error
- func (binding *NetCProto) PutMeta(ctx context.Context, namespace, key, data string) error
- func (binding *NetCProto) RenameNamespace(ctx context.Context, srcNamespace string, dstNamespace string) error
- func (binding *NetCProto) ReopenLogFiles() error
- func (binding *NetCProto) RollbackTx(txCtx *bindings.TxCtx) error
- func (binding *NetCProto) Select(ctx context.Context, query string, asJson bool, ptVersions []int32, ...) (bindings.RawBuffer, error)
- func (binding *NetCProto) SelectQuery(ctx context.Context, data []byte, asJson bool, ptVersions []int32, ...) (bindings.RawBuffer, error)
- func (binding *NetCProto) SetSchema(ctx context.Context, namespace string, schema bindings.SchemaDef) error
- func (binding *NetCProto) Status(ctx context.Context) bindings.Status
- func (binding *NetCProto) TruncateNamespace(ctx context.Context, namespace string) error
- func (binding *NetCProto) UpdateIndex(ctx context.Context, namespace string, indexDef bindings.IndexDef) error
- func (binding *NetCProto) UpdateQuery(ctx context.Context, nsHash int, data []byte) (bindings.RawBuffer, error)
- func (binding *NetCProto) UpdateQueryTx(txCtx *bindings.TxCtx, rawQuery []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerOwner ¶ added in v4.13.0
type MockConnFactory ¶
type MockConnFactory struct {
// contains filtered or unexported fields
}
func NewMockConnFactory ¶
func NewMockConnFactory(t *testing.T) *MockConnFactory
type MockConnection ¶
type MockConnection struct {
// contains filtered or unexported fields
}
func NewMockConnection ¶
func NewMockConnection(t *testing.T) *MockConnection
type NetBuffer ¶
type NetBuffer struct {
// contains filtered or unexported fields
}
func (*NetBuffer) FreeNoReply ¶
type NetCProto ¶
type NetCProto struct {
// contains filtered or unexported fields
}
func (*NetCProto) Clone ¶
func (binding *NetCProto) Clone() bindings.RawBinding
func (*NetCProto) CloseNamespace ¶
func (*NetCProto) DeleteQuery ¶
func (*NetCProto) DeleteQueryTx ¶
func (*NetCProto) DisableLogger ¶
func (binding *NetCProto) DisableLogger()
func (*NetCProto) DropNamespace ¶
func (*NetCProto) EnableLogger ¶
func (*NetCProto) GetReplicationStat ¶
func (*NetCProto) ModifyItem ¶
func (*NetCProto) ModifyItemTx ¶
func (*NetCProto) ModifyItemTxAsync ¶
func (*NetCProto) OnChangeCallback ¶
func (binding *NetCProto) OnChangeCallback(f func())
func (*NetCProto) OpenNamespace ¶
func (*NetCProto) RenameNamespace ¶
func (*NetCProto) ReopenLogFiles ¶
func (*NetCProto) SelectQuery ¶
func (*NetCProto) TruncateNamespace ¶
func (*NetCProto) UpdateIndex ¶
func (*NetCProto) UpdateQuery ¶
Click to show internal directories.
Click to hide internal directories.