wss Install Set GOPATH to current dir. GOPATH=`pwd` export GOPATH Get websocket lib go get golang.org/x/net/websocket Build go build Usage ./wss --testWss --url wss://socket-server