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

Craig Jackson bc7ffd7c1e Fix test for deprecated JSON funcs. vor 12 Jahren
examples 273ecadfca Initial commit vor 12 Jahren
.gitignore 273ecadfca Initial commit vor 12 Jahren
LICENSE 273ecadfca Initial commit vor 12 Jahren
README.md 273ecadfca Initial commit vor 12 Jahren
client.go 273ecadfca Initial commit vor 12 Jahren
client_server_test.go 273ecadfca Initial commit vor 12 Jahren
conn.go 1627eef2a3 Improve documentation. vor 12 Jahren
conn_test.go 273ecadfca Initial commit vor 12 Jahren
doc.go 273ecadfca Initial commit vor 12 Jahren
json.go 3d66655aaa Added WriteJSON/ReadJSON deprecated methods for backwards compatibility. vor 12 Jahren
json_test.go bc7ffd7c1e Fix test for deprecated JSON funcs. vor 12 Jahren
server.go 1627eef2a3 Improve documentation. vor 12 Jahren
server_test.go 80c1e5a741 Add Subprotocols helper function. vor 12 Jahren
util.go 273ecadfca Initial commit vor 12 Jahren

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