A fast, well-tested and widely used WebSocket implementation for Go.
Go to file
Craig Jackson 8e0dcebbf0 Use WriteJSON and ReadJSON on Conn struct. 2013-10-27 18:27:31 -07:00
examples Initial commit 2013-10-16 16:30:59 -07:00
.gitignore Initial commit 2013-10-16 16:30:59 -07:00
LICENSE Initial commit 2013-10-16 16:30:59 -07:00
README.md Initial commit 2013-10-16 16:30:59 -07:00
client.go Initial commit 2013-10-16 16:30:59 -07:00
client_server_test.go Initial commit 2013-10-16 16:30:59 -07:00
conn.go Improve documentation. 2013-10-27 08:34:33 -07:00
conn_test.go Initial commit 2013-10-16 16:30:59 -07:00
doc.go Initial commit 2013-10-16 16:30:59 -07:00
json.go Use WriteJSON and ReadJSON on Conn struct. 2013-10-27 18:27:31 -07:00
json_test.go Use WriteJSON and ReadJSON on Conn struct. 2013-10-27 18:27:31 -07:00
server.go Improve documentation. 2013-10-27 08:34:33 -07:00
server_test.go Add Subprotocols helper function. 2013-10-26 06:52:30 -07:00
util.go Initial commit 2013-10-16 16:30:59 -07:00

README.md

WebSocket

This project is a Go implementation of the WebSocket protocol.

The project passes the server tests in the Autobahn WebSockets Test Suite using the application in the examples/autobahn subdirectory.

Documentation

Features

  • Send and receive ping, pong and close control messages.
  • Limit size of received messages.
  • Stream messages.
  • Specify IO buffer sizes.
  • Application has full control over origin checks and sub-protocol negotiation.

Installation

go get github.com/gorilla/websocket