Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type DataSource interface { DoHealthCheck() (resHealthCheck *view.ResHealthCheck, err error) LoadExtConfig(extConfig string) (err error) }
DataSource interface
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
MysqlHealthCheck ...
func (*HealthCheck) DoHealthCheck ¶
func (h *HealthCheck) DoHealthCheck(componentType string, extConfig string) (checkResult *view.ResHealthCheck, err error)
func (*HealthCheck) HealthCheck ¶
func (h *HealthCheck) HealthCheck(req model.CheckReq) (checkResults []*view.ResHealthCheck)
HealthCheck detection of service dependency
Click to show internal directories.
Click to hide internal directories.