diff options
Diffstat (limited to 'plugins/kv/payload.proto')
-rw-r--r-- | plugins/kv/payload.proto | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/kv/payload.proto b/plugins/kv/payload.proto new file mode 100644 index 00000000..66a22ee4 --- /dev/null +++ b/plugins/kv/payload.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + +package kv.v1; +option go_package = "./payload"; + +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; +} |