Documentation ¶
Index ¶
- Variables
- func DeleteKey(ctx context.Context, db *clientv3.Client, key string) error
- func GetKey(ctx context.Context, db *clientv3.Client, key string, value interface{}) error
- func TxnCreate(ctx context.Context, db *clientv3.Client, key string, value interface{}) error
- func TxnUpdate(ctx context.Context, db *clientv3.Client, key string, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound is the error returned by storages if a resource cannot be found. ErrNotFound = errors.New("not found") // ErrAlreadyExists is the error returned by storages if a resource ID is taken during a create. ErrAlreadyExists = errors.New("ID already exists") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.