14 lines
211 B
Protocol Buffer
14 lines
211 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package main;
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
service TestService {
|
|
rpc DoWork (google.protobuf.Empty) returns (WorkResponse);
|
|
}
|
|
|
|
message WorkResponse {
|
|
string message = 1;
|
|
}
|