framework_v2/api/greeting/greeting.proto
2024-07-15 16:31:17 +08:00

19 lines
305 B
Protocol Buffer

syntax = "proto3";
package GreetingService;
option go_package = "leafdev.top/GreetingService/proto/greeting";
import "google/api/annotations.proto";
service GreetingService {
rpc Hello(HelloRequest) returns (HelloResponse);
}
message HelloRequest {
}
message HelloResponse {
string hello = 1;
}