view

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

type CheckResult struct {
	IsSuccess bool   `json:"is_success"`
	Msg       string `json:"msg"`
}

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 ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL