Documentation ¶
Index ¶
- type Logger
- func (store *Logger) Close() error
- func (store *Logger) CompareAndSwap(ctx context.Context, key kvstore.Key, oldValue, newValue kvstore.Value) (err error)
- func (store *Logger) Delete(ctx context.Context, key kvstore.Key) (err error)
- func (store *Logger) Get(ctx context.Context, key kvstore.Key) (_ kvstore.Value, err error)
- func (store *Logger) Put(ctx context.Context, key kvstore.Key, value kvstore.Value) (err error)
- func (store *Logger) Range(ctx context.Context, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger implements a zap.Logger for kvstore.Store.
func (*Logger) CompareAndSwap ¶ added in v1.96.4
func (store *Logger) CompareAndSwap(ctx context.Context, key kvstore.Key, oldValue, newValue kvstore.Value) (err error)
CompareAndSwap atomically compares and swaps oldValue with newValue.
Click to show internal directories.
Click to hide internal directories.