Answer the question
In order to leave comments, you need to log in
How to make an encrypted connection in golang through a proxy?
I need to connect to an imap server through a proxy. And the server expects a secure connection. Tried to use x/net/proxy and github.com/emersion/go-imap
The problem was that in go-imap it expects net.Dialer as input, but I have proxy.Dialer and I don't understand how to connect them like that. How can I do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question