template/api/main.proto

20 lines
304 B
Protocol Buffer
Raw Normal View History

2024-05-19 09:03:57 +00:00
syntax = "proto3";
2024-05-19 09:14:07 +00:00
package crabs.${REPO_NAME_SNAKE};
2024-05-19 09:03:57 +00:00
import "google/api/annotations.proto";
2024-05-19 09:14:07 +00:00
2024-05-19 11:53:17 +00:00
option go_package = "pkg/proto";
2024-05-19 09:14:07 +00:00
service ${REPO_NAME_PASCAL} {
rpc Ping(PingReq) returns (PingRsp) {
option (google.api.http) = {
get: "/ping"
};
}
}
message PingReq {}
message PingRsp {}