pomerium/internal/grpc/cache/cache.proto
Bobby DeSimone dccc7cd2ff
cache : add cache service (#457)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
2020-01-20 18:25:34 -08:00

20 lines
322 B
Protocol Buffer

syntax = "proto3";
package cache;
service Cache {
rpc Get(GetRequest) returns (GetReply) {}
rpc Set(SetRequest) returns (SetReply) {}
}
message GetRequest { string key = 1; }
message GetReply {
bool exists = 1;
bytes value = 2;
}
message SetRequest {
string key = 1;
bytes value = 2;
}
message SetReply {}