healthcheck
healthcheck copied to clipboard
An simple, easily extensible and concurrent health-check library for Go services
In addition to a common and overall timeout value defined for all health `checkers`, it'll be useful to override with a specific timeout value for a checker. Concern: My assumption...
The handler uses `context.Background()` in the http handler. If the client (calling service) drop the connection, the processing will continue till an error occur when the handler tries to write...
If there is a time out before the checker is able to complete, then the goroutine started by the timeout checker forever waits to write on a channel. ``` type...
got error below when running service with windows ``` # github.com/etherlabsio/healthcheck/v2/checkers ..\..\..\go\pkg\mod\github.com\etherlabsio\healthcheck\[email protected]\checkers\diskspace.go:16:34: undefined: syscall.Statfs_t ..\..\..\go\pkg\mod\github.com\etherlabsio\healthcheck\[email protected]\checkers\diskspace.go:25:16: undefined: syscall.Statfs_t ..\..\..\go\pkg\mod\github.com\etherlabsio\healthcheck\[email protected]\checkers\diskspace.go:46:22: undefined: syscall.Statfs ```