Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcClientChecker ¶
func NewGrpcClientChecker(conn *grpc.ClientConn) health.Checker
Types ¶
type Checker ¶
type Checker struct {
Redis Redis
}
Checker is a checker that check a given redis
func NewCheckerWithRedis ¶
NewCheckerWithRedis returns a new redis.Checker configured with a custom Redis implementation
type DomainChecker ¶
func NewDomain ¶
func NewDomain(url string) DomainChecker
func NewDomainWithTimeout ¶
func NewDomainWithTimeout(url string, timeout time.Duration) DomainChecker
func (DomainChecker) Check ¶
func (u DomainChecker) Check() health.Health
type ShutDownChecker ¶
type ShutDownChecker struct{}
func ShutDown ¶
func ShutDown() *ShutDownChecker
func (ShutDownChecker) Check ¶
func (ShutDownChecker) Check() health.Health
Click to show internal directories.
Click to hide internal directories.