Add TCP Dial check #36
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
Good Hacktoberfest issue
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.
The text was updated successfully, but these errors were encountered: