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
Click to show internal directories.
Click to hide internal directories.