feat: first

This commit is contained in:
2025-08-13 19:12:51 +02:00
commit fd2ba2e999
9 changed files with 358 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
syntax = "proto3";
option go_package = "go-grpc-gateway-template/proto/helloworld";
package helloworld;
import "google/api/annotations.proto";
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply) {
option (google.api.http) = {
post: "/v1/example/echo"
body: "*"
};
}
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}