summaryrefslogtreecommitdiff
path: root/pkg/proto/kv/v1beta/kv.proto
blob: 1ec0e6b76473fba891861238b74f7128e6b89a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
}