implement grpc gateway for http api
This commit is contained in:
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ DOCKER_IMG := gitea.libretechconsulting.com/rmcguire/ambient-local-exporter
|
||||
all: proto test build docker
|
||||
|
||||
proto: check_protoc $(API_DIR)
|
||||
protoc --proto_path=proto \
|
||||
protoc --proto_path=proto --proto_path=proto/googleapis \
|
||||
--go_out=$(API_DIR) --go_opt=paths=source_relative \
|
||||
--go-grpc_out=$(API_DIR) --go-grpc_opt=paths=source_relative \
|
||||
--grpc-gateway_out=$(API_DIR) --grpc-gateway_opt=paths=source_relative \
|
||||
|
Reference in New Issue
Block a user