protoc-gen-go-micro/examples/single-package-mode/proto/bbb/bbb.proto
2018-09-13 16:38:39 +02:00

20 lines
385 B
Protocol Buffer

syntax = "proto3";
package the.bbb.package;
option go_package = "moul.io/protoc-gen-gotemplate/examples/single-package-mode/output/bbb";
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;
}