httphealthcheck

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const HealthCheckId = "com.hailocab.service.http"

Variables

This section is empty.

Functions

func HealthCheck

func HealthCheck(urlBuilder UrlBuilder, timeout time.Duration) healthcheck.Checker

HealthCheck asserts we can connect to some HTTP server and execute a GET and get back a 200 OK

Types

type UrlBuilder

type UrlBuilder func() string

Jump to

Keyboard shortcuts

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