You will need a domain name for WSS/TLS.

The difference between WS and WSS is as simple as using ListenAndServeTLS
instead of ListenAndServe. You can even  have an 'if' statement to serve
either, so you can more easily test during development.

https://golang.org/pkg/net/http/#ListenAndServeTLS

-- 
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