Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReturnAppIp ¶ added in v0.1.0
func ReturnAppIp() string
func ReturnHostName ¶
func ReturnHostName() string
Types ¶
type Config ¶
type Config struct {
Enable bool `json:"enable"`
Debug bool `json:"debug"`
Addr string `json:"addr"`
Internal time.Duration `json:"internal"`
HostName string `json:"host_name"`
RegionCode string `json:"region_code"`
RegionName string `json:"region_name"`
ZoneCode string `json:"zone_code"`
ZoneName string `json:"zone_name"`
Env string `json:"env"`
}
Config report config
type HTTPReport ¶
type HTTPReport struct {
Config *Config
// contains filtered or unexported fields
}
HTTPReport httpReport struct
type Report ¶
type Report struct {
Reporter
// contains filtered or unexported fields
}
Report ...
func (*Report) ReportAgentStatus ¶
ReportAgentStatus report agent status
type ReporterResp ¶
ReporterResp ...
Click to show internal directories.
Click to hide internal directories.