Revel provides support for Websockets.
To handle a Websocket connection:
WS
method.*websocket.Conn
parameter.For example, add this your routes
file:
WS /app/feed Application.Feed
Then write an action like this:
import "code.google.com/p/go.net/websocket" func (c App) Feed(user string, ws *websocket.Conn) revel.Result { ... }