hwt/rpc/hwt/service.proto

19 lines
272 B
Protocol Buffer
Raw Permalink Normal View History

2018-01-16 20:57:04 -08:00
syntax = "proto3";
package mcquay.hwt.hwt;
2018-01-16 20:57:04 -08:00
option go_package = "hwt";
service HelloWorld {
rpc Hello(HelloReq) returns (HelloResp);
}
message HelloReq {
string subject = 1; // required
2018-01-16 20:57:04 -08:00
}
message HelloResp {
string text = 1; // required
2018-01-20 09:07:57 -08:00
string hostname = 2;
2018-01-16 20:57:04 -08:00
}