alexliesenfeld / health

A simple and flexible health check library for Go.
MIT License
774 stars 38 forks source link

ADD HTTP check #37

Closed alexliesenfeld closed 1 year ago

alexliesenfeld commented 1 year ago

It would be useful to have a small library of commonly used health checks. In the scope of this issue, an HTTP check should be implemented (e.g. calling an http.Client HTTP method and return it's result). Optimally, the implementation should respect the context.Context value that is being passed to each health check function (e.g., by using the Deadline from the context to pass it as a paramter of http.Client (or pass the entire context if there is a way to do that).

A few constraints to keep things clean and simple:

Should you have questions or require help, please join our discord chat room.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.