dish Socket Checker
contents:
Take a deep dive into the fast socket checking service written in Go --- dish by vxn.
Intro
dish is a tiny one-shot Go binary. Its purpose is to check whether the given socket (hostname + TCP port) is reachable, or whether the given HTTP/S endpoint is reachable and is returning expected HTTP response code (which can be explicitly specified in so-called expected response code array).
Fig.: Socket down event action in swbro as reported by dish.
Fig.: Socket up event action in swbro as reported by dish.