kit
kit copied to clipboard
util/conn.Manager re-connect
The util/conn.Manager won't attempt to reconnect to the provided endpoint if the endpoint is initially unavailable (e.g. dial tcp :8080: getsockopt: connection refused). If the endpoint is up when conn.NewManager is called and then goes down/up, it reconnects just fine.
Embarrassing! Thank you for the spot.