Versions in this module Expand all Collapse all v1 v1.0.0 Nov 8, 2021 Changes in this version + var ErrNoData = errors.New("no data yet") + type Check func() error + func Async(check Check, interval time.Duration) Check + func AsyncWithContext(ctx context.Context, check Check, interval time.Duration) Check + func CheckGRPC(grpcClient grpc_health_v1.HealthClient) Check + func CheckRedis(client redis.Cmdable) Check + func DNSResolveCheck(host string, timeout time.Duration) Check + func DatabaseSelectCheck(client *sql.DB, timeout time.Duration) Check + func GoroutineCountCheck(threshold int) Check + func HTTPGetCheck(url string, timeout time.Duration) Check + func TCPDialCheck(addr string, timeout time.Duration) Check + func Timeout(check Check, timeout time.Duration) Check + type TimeoutError time.Duration + func (e TimeoutError) Error() string + func (e TimeoutError) Temporary() bool + func (e TimeoutError) Timeout() bool