You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
385 B
Protocol Buffer
18 lines
385 B
Protocol Buffer
2 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package api.gogrpc.v1.health;
|
||
|
|
||
|
option go_package = "github.com/ajikamaludin/go-grpc_basic/proto/v1/health";
|
||
|
|
||
|
// import "lib/google/api/annotations.proto";
|
||
|
import "google/protobuf/empty.proto";
|
||
|
|
||
|
message Response {
|
||
|
bool success = 1;
|
||
|
string code = 2;
|
||
|
string desc = 3;
|
||
|
}
|
||
|
|
||
|
service HealthService {
|
||
|
rpc Status(google.protobuf.Empty) returns (Response) {}
|
||
|
}
|