Documentation ¶
Index ¶
- type DB
- func (s *DB) CreateKV(ctx context.Context, b []byte, v ...kv.Pair) error
- func (s *DB) CreateKVFn(ctx context.Context, b []byte, fn func(ctx kv.PutContext) error) error
- func (s *DB) DeleteKV(ctx context.Context, b []byte, v ...[]byte) error
- func (s *DB) DeleteKVFn(ctx context.Context, b []byte, fn func(ctx kv.DeleteContext) error) error
- func (s *DB) ListKV(ctx context.Context, b []byte) (list []kv.Pair, err error)
- func (s *DB) ListKVFn(ctx context.Context, b []byte, fn func(k []byte, v []byte) error) error
- func (s *DB) ReadKV(ctx context.Context, b []byte, v ...[]byte) (list []kv.Pair, err error)
- func (s *DB) ReadKVFn(ctx context.Context, b []byte, fn func(ctx kv.GetContext) error) error
- func (s *DB) StoreKV(ctx context.Context, b []byte, v ...kv.Pair) error
- func (s *DB) StoreKVFn(ctx context.Context, b []byte, fn func(ctx kv.PutContext) error) error
- func (s *DB) UpdateKV(ctx context.Context, b []byte, v ...kv.Pair) error
- func (s *DB) UpdateKVFn(ctx context.Context, b []byte, fn func(ctx kv.PutContext) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.