https://github.com/gorilla/websocket.git

Gary Burd 80c1e5a741 Add Subprotocols helper function. %!s(int64=12) %!d(string=hai) anos
examples 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
.gitignore 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
LICENSE 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
README.md 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
client.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
client_server_test.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
conn.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
conn_test.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
doc.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
json.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
json_test.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos
server.go 80c1e5a741 Add Subprotocols helper function. %!s(int64=12) %!d(string=hai) anos
server_test.go 80c1e5a741 Add Subprotocols helper function. %!s(int64=12) %!d(string=hai) anos
util.go 273ecadfca Initial commit %!s(int64=12) %!d(string=hai) anos

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