Closed slingamn closed 1 year ago
We should just take a Dial
callback, or a Dialer
interface, rather than introducing a hard dependency on a proxy library.
I found this snippet on SO: https://go.dev/play/p/l0iLtkD1DV
I implemented this in the issue64_proxies branch. It's a little messy so merging this isn't a priority for 0.2.0.
For parity with goirc: https://github.com/fluffle/goirc/blob/v1.1.1/client/connection.go#L62