The HTTP protocol achieves only one-way communication, while the WebSocket protocol is a full duplex communication between client and server. The Go experimental library offers support for WebSocket with the golang.org/x/net/websocket package, and Gorilla has another implementation with its own github.com/gorilla/websocket.
The second one is far more complete, and it's used in the github.com/olahol/melody package, which implements a framework for an easy WebSocket communication. Each package offers different working examples on the WebSocket server and client pair.