open-vault/vault/request_forwarding_service....

21 lines
405 B
Protocol Buffer
Raw Normal View History

2016-08-19 15:03:53 +00:00
syntax = "proto3";
import "github.com/hashicorp/vault/helper/forwarding/types.proto";
package vault;
message EchoRequest {
string message = 1;
string cluster_addr = 2;
}
message EchoReply {
string message = 1;
repeated string cluster_addrs = 2;
}
service RequestForwarding {
2017-01-06 22:08:43 +00:00
rpc ForwardRequest(forwarding.Request) returns (forwarding.Response) {}
rpc Echo(EchoRequest) returns (EchoReply) {}
2016-08-19 15:03:53 +00:00
}