If you want to make a connection to a server take speaks TLS, you can 
use https://godoc.org/crypto/tls#Dial

If you want to make a connection to a web server that uses HTTPS, the 
net/http package does this automatically for you.

If you can share some more details about what you are trying to do, we can 
probably give a better suggestion.

Thanks

Dave

On Monday, 27 June 2016 20:27:41 UTC+10, Oleg Puchinin wrote:
>
> Hello !
> How to start use tls for TCP connection ?
>
> Oleg.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to