Closed alexliesenfeld closed 1 year ago
I could take a look at this, if it's ok with you
@wmb1207 Sure! I assigned this issue to you!
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
It would be useful to have a small library of commonly used health checks. In the scope of this issue, a TCP check should be implemented (e.g. calling
net.DialTimeout("tcp", addr, timeout)
and return it's result). Optimally, the implementation should respect thecontext.Context
value that is being passed to each health check function (e.g., by using theDeadline
from the context to pass it as a parameter tonet.DialTimeout
(or pass the entire context if there is a way to do that).A few constraints to keep things clean and simple:
development
branch.context.Context
that is being passed to each health check function.Should you have questions or require help, please join our discord chat room.