实现节点运行日志上传

This commit is contained in:
GoEdgeLab
2020-10-09 11:06:47 +08:00
parent 5408f03377
commit 142aafdde8
5 changed files with 940 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ import (
var sharedNodeConfig *NodeConfig = nil
type NodeConfig struct {
Id string `yaml:"id" json:"id"`
Id int64 `yaml:"id" json:"id"`
NodeId string `yaml:"nodeId" json:"nodeId"`
IsOn bool `yaml:"isOn" json:"isOn"`
Servers []*serverconfigs.ServerConfig `yaml:"servers" json:"servers"`
Version int64 `yaml:"version" json:"version"`