Create scaffolding of ddl-simulator
Implement global server as control plane Implement device to get their info from global server and connect each others
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user