2017-05-18 19:44:05 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package the.bbb.package;
|
|
|
|
|
2018-09-12 20:29:07 +02:00
|
|
|
option go_package = "moul.io/protoc-gen-gotemplate/examples/single-package-mode/output/bbb";
|
2017-05-18 19:44:05 +02:00
|
|
|
|
|
|
|
import "aaa/aaa.proto";
|
|
|
|
|
|
|
|
service BbbService {
|
|
|
|
rpc Aaa(the.aaa.package.AaaRequest) returns (the.aaa.package.AaaReply);
|
|
|
|
rpc Bbb(BbbRequest) returns (BbbReply);
|
|
|
|
}
|
|
|
|
|
|
|
|
message BbbRequest {
|
|
|
|
bool enable = 1;
|
|
|
|
}
|
|
|
|
message BbbReply {
|
|
|
|
bool done = 1;
|
2018-09-12 20:29:07 +02:00
|
|
|
}
|