mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-02 20:00:26 +08:00
阶段性提交
This commit is contained in:
4
build/configs/.gitignore
vendored
4
build/configs/.gitignore
vendored
@@ -1 +1,3 @@
|
||||
server.yaml
|
||||
server.yaml
|
||||
db.yaml
|
||||
api.yaml
|
||||
4
build/configs/api.template.yaml
Normal file
4
build/configs/api.template.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
rpc:
|
||||
endpoints: [ "127.0.0.1:8003" ]
|
||||
nodeId: ""
|
||||
secret: ""
|
||||
14
build/grpc.sh
Executable file
14
build/grpc.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
function proto_compile() {
|
||||
protoc --go_out=plugins=grpc:../internal/rpc --proto_path=../internal/rpc ../internal/rpc/${1}/*.proto
|
||||
}
|
||||
|
||||
proto_compile "admin"
|
||||
#proto_compile "dns"
|
||||
#proto_compile "log"
|
||||
#proto_compile "provider"
|
||||
#proto_compile "stat"
|
||||
#proto_compile "user"
|
||||
#proto_compile "monitor"
|
||||
#proto_compile "node"
|
||||
Reference in New Issue
Block a user