[ Cmii ] [ Octopus ] - 优化项目结构
This commit is contained in:
@@ -3,20 +3,20 @@ package status
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
"wdd.io/agent-common/logger"
|
||||
"wdd.io/agent-go/g"
|
||||
logger2 "wdd.io/agent-go/logger"
|
||||
)
|
||||
|
||||
var log = logger2.Log
|
||||
var log = logger.Log
|
||||
var pool = g.G.P
|
||||
|
||||
type StatusMessage struct {
|
||||
/**
|
||||
* which kind of status should be return
|
||||
"PING";
|
||||
* METRIC => short time message
|
||||
* ALL => all agent status message
|
||||
* */
|
||||
* which kind of status should be return
|
||||
"PING";
|
||||
* METRIC => short time message
|
||||
* ALL => all agent status message
|
||||
* */
|
||||
StatusType string `json:"statusType,omitempty"`
|
||||
MetricRepeatCount int `json:"metricRepeatCount,omitempty"`
|
||||
metricRepeatPinch int `json:"metricRepeatPinch,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user