mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-05-30 04:05:19 +08:00
服务配置增加集群ID
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
|||||||
|
|
||||||
type ServerConfig struct {
|
type ServerConfig struct {
|
||||||
Id int64 `yaml:"id" json:"id"` // ID
|
Id int64 `yaml:"id" json:"id"` // ID
|
||||||
|
ClusterId int64 `yaml:"clusterId" json:"clusterId"` // 集群ID
|
||||||
Type string `yaml:"type" json:"type"` // 类型
|
Type string `yaml:"type" json:"type"` // 类型
|
||||||
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
|
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
|
||||||
Name string `yaml:"name" json:"name"` // 名称
|
Name string `yaml:"name" json:"name"` // 名称
|
||||||
|
|||||||
Reference in New Issue
Block a user