Skip to content

Commit

Permalink
adding server proto api's
Browse files Browse the repository at this point in the history
  • Loading branch information
vramk23 committed Jun 27, 2023
1 parent 4c13db2 commit 18202b7
Show file tree
Hide file tree
Showing 12 changed files with 2,258 additions and 107 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ CLIMON_APP_NAME := climon
BUILD := 0.1.1

gen-protoc:
mkdir -p server/pkg/pb/serverpb
mkdir -p capten/agent/pkg/agentpb
mkdir -p server/pkg/pb/agentpb
mkdir -p server/pkg/pb/climonpb

cd proto && protoc --go_out=../server/pkg/pb/serverpb/ --go_opt=paths=source_relative \
--go-grpc_out=../server/pkg/pb/serverpb --go-grpc_opt=paths=source_relative \
./server.proto

cd proto && protoc --go_out=../capten/agent/pkg/agentpb/ --go_opt=paths=source_relative \
--go-grpc_out=../capten/agent/pkg/agentpb/ --go-grpc_opt=paths=source_relative \
./agent.proto
Expand Down
14 changes: 7 additions & 7 deletions capten/agent/pkg/agentpb/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 44 additions & 28 deletions capten/agent/pkg/agentpb/agent_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions capten/capten-sdk/agentpb/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 18202b7

Please sign in to comment.