Documentation
¶
Index ¶
- Variables
- type KV
- type KeyspaceUpdate
- func (u KeyspaceUpdate) Delete(_ context.Context, k []byte) error
- func (u KeyspaceUpdate) Get(ctx context.Context, opts kv.GetOptions) ([]kv.Item, error)
- func (u KeyspaceUpdate) Put(_ context.Context, k, v []byte) error
- func (u KeyspaceUpdate) Range(ctx context.Context, opts ...kv.RangeOption) ([]kv.Item, error)
- type KeyspaceView
- type Update
- type View
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBucketNotExist = errors.New("bucket not exist")
)
Functions ¶
This section is empty.
Types ¶
type KeyspaceUpdate ¶
type KeyspaceUpdate KeyspaceView
func (KeyspaceUpdate) Get ¶
func (u KeyspaceUpdate) Get(ctx context.Context, opts kv.GetOptions) ([]kv.Item, error)
func (KeyspaceUpdate) Range ¶
func (u KeyspaceUpdate) Range(ctx context.Context, opts ...kv.RangeOption) ([]kv.Item, error)
type KeyspaceView ¶
type KeyspaceView struct {
// contains filtered or unexported fields
}
func (KeyspaceView) Get ¶
func (k KeyspaceView) Get(_ context.Context, opts kv.GetOptions) (items []kv.Item, err error)
func (KeyspaceView) Range ¶
func (k KeyspaceView) Range(_ context.Context, opts ...kv.RangeOption) (items []kv.Item, err error)
type Update ¶
type Update struct {
// contains filtered or unexported fields
}
func (Update) CreateKeyspace ¶
Click to show internal directories.
Click to hide internal directories.