d6e129179c
Implement global server as control plane Implement device to get their info from global server and connect each others
11 lines
398 B
Makefile
11 lines
398 B
Makefile
gen-proto:
|
|
protoc --go_out=. --go_opt=paths=source_relative \
|
|
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
|
proto/device.proto
|
|
protoc --go_out=. --go_opt=paths=source_relative \
|
|
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
|
proto/global.proto
|
|
|
|
build:
|
|
go build -o _output/global-server cmd/global-server/main.go
|
|
go build -o _output/device cmd/device/main.go
|