HealthCheckModule defines a http provider for container.Container. It uses github.com/heptiolabs/healthcheck underneath. It doesn't do much out of box other than providing liveness check at ``/live`` and readiness check at ``/ready``. End user should add health checking functionality by themself, e.
| 10 | // check at ``/live`` and readiness check at ``/ready``. End user should add health checking functionality by themself, |
| 11 | // e.g. probe if database connection pool has exhausted at readiness check. |
| 12 | type HealthCheckModule struct{} |
| 13 | |
| 14 | // ProvideHTTP implements container.HTTPProvider |
| 15 | func (h HealthCheckModule) ProvideHTTP(router *mux.Router) { |
nothing calls this directly
no outgoing calls
no test coverage detected