[ Agent ] remove nacos in agent

This commit is contained in:
zeaslity
2023-06-16 14:22:58 +08:00
parent 93692eb0af
commit 6025620eea
8 changed files with 307 additions and 204 deletions

View File

@@ -8,7 +8,7 @@ import (
type Global struct {
AgentHasRegister bool
NacosConfig *viper.Viper
AgentConfig *viper.Viper
P *ants.Pool
}
@@ -31,7 +31,7 @@ var G = NewGlobal(
func NewGlobal(pool *ants.Pool) *Global {
return &Global{
AgentHasRegister: false,
NacosConfig: nil,
AgentConfig: nil,
P: pool,
}
}