top

The sockets package implements a middleware for standard websocket handling in Martini using the RFC 6455 compliant gorilla implementation of the websocket protocol (github.com/gorilla/websocket). It maps the websocket connection to channels and takes care of connection setup and destruction in order to facilitate easier setup & use of websocket connections.

Imports 2 package(s) ΒΆ

  1. github.com/gorilla/websocket
  2. github.com/go-martini/martini