diff options
author | Valery Piashchynski <[email protected]> | 2021-06-21 11:41:42 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-21 11:41:42 +0300 |
commit | bdcfdd28d705e401973da2beb8a11543e362bda4 (patch) | |
tree | 6a80b5b78ce18c7ddf298861d5b0cd05d8c64ccf /proto/kv/v1beta/kv.proto | |
parent | cee4bc46097506d6e892b6af194751434700621a (diff) | |
parent | 87d023d32feef5fe28c9bb65a796deb77d536b15 (diff) |
Merge remote-tracking branch 'origin/master' into feature/jobs_plugin
# Conflicts:
# plugins/websockets/plugin.go
Diffstat (limited to 'proto/kv/v1beta/kv.proto')
-rw-r--r-- | proto/kv/v1beta/kv.proto | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/proto/kv/v1beta/kv.proto b/proto/kv/v1beta/kv.proto new file mode 100644 index 00000000..1e3b8177 --- /dev/null +++ b/proto/kv/v1beta/kv.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package kv.v1beta; +option go_package = "./;kvv1beta"; + +message Request { + // could be an enum in the future + string storage = 1; + repeated Item items = 2; +} + +message Item { + string key = 1; + bytes value = 2; + // RFC 3339 + string timeout = 3; +} + +// KV response for the KV RPC methods +message Response { + repeated Item items = 1; +} |