File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -50,21 +50,21 @@ type KVOp string
50
50
51
51
const (
52
52
KVSet KVOp = "set"
53
- KVDelete = "delete"
54
- KVDeleteCAS = "delete-cas"
55
- KVDeleteTree = "delete-tree"
56
- KVCAS = "cas"
57
- KVLock = "lock"
58
- KVUnlock = "unlock"
59
- KVGet = "get"
60
- KVGetTree = "get-tree"
61
- KVCheckSession = "check-session"
62
- KVCheckIndex = "check-index"
53
+ KVDelete KVOp = "delete"
54
+ KVDeleteCAS KVOp = "delete-cas"
55
+ KVDeleteTree KVOp = "delete-tree"
56
+ KVCAS KVOp = "cas"
57
+ KVLock KVOp = "lock"
58
+ KVUnlock KVOp = "unlock"
59
+ KVGet KVOp = "get"
60
+ KVGetTree KVOp = "get-tree"
61
+ KVCheckSession KVOp = "check-session"
62
+ KVCheckIndex KVOp = "check-index"
63
63
)
64
64
65
65
// KVTxnOp defines a single operation inside a transaction.
66
66
type KVTxnOp struct {
67
- Verb string
67
+ Verb KVOp
68
68
Key string
69
69
Value []byte
70
70
Flags uint64
You can’t perform that action at this time.
0 commit comments