mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-29 18:04:17 +02:00
24 lines
299 B
Protocol Buffer
24 lines
299 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
service Example {
|
|
rpc Call(CallRequest) returns(CallResponse) {};
|
|
}
|
|
|
|
service Foo {
|
|
rpc Bar(EmptyRequest) returns(EmptyResponse) {};
|
|
}
|
|
|
|
message CallRequest {
|
|
string name = 1;
|
|
}
|
|
|
|
message CallResponse {
|
|
string message = 2;
|
|
}
|
|
|
|
message EmptyRequest {
|
|
}
|
|
|
|
message EmptyResponse {
|
|
}
|