部署 falcon-api
api 提供一系列接口
提供了用户,模板,组件, agent 间的交互
modules/api/config/g.go
const (
VERSION = "20200818"
)
# make api
go build -o bin/api/falcon-api ./modules/api
mkdir /apps/svr/falcon-plus/api/{bin,logs,data,config} -p
/apps/svr/falcon-plus/api/config/cfg.json
{
"log_level": "info",
"db": {
"faclon_portal": "falcon:falcontest@tcp(ns-yun-020021.133.com:3306)/falcon_portal?charset=utf8&parseTime=True&loc=Local",
"graph": "falcon:falcontest@tcp(ns-yun-020021.133.com:3306)/graph?charset=utf8&parseTime=True&loc