Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
CheckResult ...
type ResHealthCheck ¶
type ResHealthCheck struct { ComponentType string `json:"component_type"` //eg:mysql,redis....... CheckTime int64 `json:"check_time"` CheckResult *CheckResult `json:"check_result"` }
ResHealthCheck ...
func HealthCheckResult ¶
func HealthCheckResult(componentType string, isSuccess bool, msg string) (res *ResHealthCheck)
HealthCheckResult ...
Click to show internal directories.
Click to hide internal directories.