mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-06 13:56:04 +02:00
20 lines
322 B
Protocol Buffer
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 {}
|