diff options
Diffstat (limited to 'pkg/proto/kv/v1beta/kv.proto')
-rw-r--r-- | pkg/proto/kv/v1beta/kv.proto | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/proto/kv/v1beta/kv.proto b/pkg/proto/kv/v1beta/kv.proto index 1ec0e6b7..1e3b8177 100644 --- a/pkg/proto/kv/v1beta/kv.proto +++ b/pkg/proto/kv/v1beta/kv.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package kv.v1beta; option go_package = "./;kvv1beta"; -message Payload { +message Request { // could be an enum in the future string storage = 1; repeated Item items = 2; @@ -11,7 +11,12 @@ message Payload { message Item { string key = 1; - string value = 2; + bytes value = 2; // RFC 3339 string timeout = 3; } + +// KV response for the KV RPC methods +message Response { + repeated Item items = 1; +} |