diff options
Diffstat (limited to 'pkg/proto/kv/v1beta/kv.proto')
-rw-r--r-- | pkg/proto/kv/v1beta/kv.proto | 17 |
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; +} |