[agent-go] 初步完成Executor部分的代码- 1
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package g
|
||||
|
||||
import (
|
||||
"agent-go/register"
|
||||
"agent-go/config"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
type Global struct {
|
||||
LOG *Logger
|
||||
NacosConfig *viper.Viper
|
||||
AgentServerInfo *register.AgentServerInfo
|
||||
AgentServerInfo *config.AgentServerInfo
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -17,6 +17,8 @@ const (
|
||||
ExecOmType = "EXECUTOR"
|
||||
StatusOmType = "STATUS"
|
||||
InitOmType = "INIT"
|
||||
|
||||
// write about
|
||||
)
|
||||
|
||||
var logger, _ = NewLogger()
|
||||
|
||||
Reference in New Issue
Block a user