实现节点运行日志上传

This commit is contained in:
刘祥超
2020-10-09 11:06:47 +08:00
parent fdf0f64e1d
commit c7f56d8876
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"`