mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-07 21:45:39 +08:00
商业版增加UAM功能
This commit is contained in:
@@ -52,6 +52,9 @@ type ServerConfig struct {
|
||||
// 分组
|
||||
Group *ServerGroupConfig `yaml:"group" json:"group"`
|
||||
|
||||
// UAM
|
||||
UAM *UAMConfig `yaml:"uam" json:"uam"`
|
||||
|
||||
isOk bool
|
||||
|
||||
planId int64
|
||||
@@ -243,6 +246,14 @@ func (this *ServerConfig) Init() (results []error) {
|
||||
}
|
||||
}
|
||||
|
||||
// UAM
|
||||
if this.UAM != nil {
|
||||
err := this.UAM.Init()
|
||||
if err != nil {
|
||||
results = append(results, err)
|
||||
}
|
||||
}
|
||||
|
||||
this.isOk = true
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user