V2.7 增加agent执行器

This commit is contained in:
georgehao
2019-07-03 22:31:27 +08:00
parent c3a89e9243
commit 37fb659c4e
48 changed files with 2832 additions and 513 deletions

25
agent/common/protocol.go Normal file
View File

@@ -0,0 +1,25 @@
/************************************************************
** @Description: common
** @Author: george hao
** @Date: 2018-11-29 11:14
** @Last Modified by: george hao
** @Last Modified time: 2018-11-29 11:14
*************************************************************/
package common
//配置开始 注释查看配置文件
type Conf struct {
Version string
AppMode string
LogLevel string
ServerName string
ServerId int
TcpPort int
TcpIp string
GroupId string
RegisterUrl string
UpdateStatusUrl string
IpType int
}
var ExitChan = make(chan int, 1)