syntax = "proto3"; package api.gogrpc.v1.health; option go_package = "github.com/ajikamaludin/go-grpc_basic/proto/v1/health"; import "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) { option (google.api.http) = { get: "/api/v1/health/status" }; } }