feat: added http gateway for grpc

This commit is contained in:
ITQ
2025-11-04 15:18:54 +03:00
parent 2102694712
commit 9d58fe0b41
8 changed files with 517 additions and 30 deletions
+4 -1
View File
@@ -26,7 +26,10 @@ generate:
gen: generate
protoc: generate
generate-gw:
$(PROTOC) --version || (echo "protoc not found, install protoc"; exit 1)
$(PROTOC) --grpc-gateway_out=$(PROTO_OUT) --grpc-gateway_opt generate_unbound_methods=true \
$(PROTO_FILE)
test:
$(GOTEST) ./...