20 lines
304 B
Protocol Buffer
20 lines
304 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package crabs.${REPO_NAME_SNAKE};
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
option go_package = "pkg/proto";
|
|
|
|
service ${REPO_NAME_PASCAL} {
|
|
rpc Ping(PingReq) returns (PingRsp) {
|
|
option (google.api.http) = {
|
|
get: "/ping"
|
|
};
|
|
}
|
|
}
|
|
|
|
message PingReq {}
|
|
|
|
message PingRsp {}
|