summaryrefslogtreecommitdiff
path: root/pkg/proto/kv/v1beta/kv.proto
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-08 22:36:40 +0300
committerGitHub <[email protected]>2021-06-08 22:36:40 +0300
commit4f3e16892479db4bd8280a46987f3105e46e5c96 (patch)
tree13c4c3f380d8309b95c9600cc2000d1d5ab87cda /pkg/proto/kv/v1beta/kv.proto
parent49ce25e80ba99ac91bce7ea2b9b632de53e07c0d (diff)
parentcc271dceb13d3929f0382311dfce3dfed2ce04ce (diff)
#712 feat(ws, kv): switch from the `flatbuffers` to the `protobuf`v2.3.0-beta.2
#712 feat(ws, kv): switch from the `flatbuffers` to the `protobuf`
Diffstat (limited to 'pkg/proto/kv/v1beta/kv.proto')
-rw-r--r--pkg/proto/kv/v1beta/kv.proto17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/proto/kv/v1beta/kv.proto b/pkg/proto/kv/v1beta/kv.proto
new file mode 100644
index 00000000..1ec0e6b7
--- /dev/null
+++ b/pkg/proto/kv/v1beta/kv.proto
@@ -0,0 +1,17 @@
+syntax = "proto3";
+
+package kv.v1beta;
+option go_package = "./;kvv1beta";
+
+message Payload {
+ // could be an enum in the future
+ string storage = 1;
+ repeated Item items = 2;
+}
+
+message Item {
+ string key = 1;
+ string value = 2;
+ // RFC 3339
+ string timeout = 3;
+}