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

Gary Burd 1627eef2a3 Improve documentation. před 12 roky
examples 273ecadfca Initial commit před 12 roky
.gitignore 273ecadfca Initial commit před 12 roky
LICENSE 273ecadfca Initial commit před 12 roky
README.md 273ecadfca Initial commit před 12 roky
client.go 273ecadfca Initial commit před 12 roky
client_server_test.go 273ecadfca Initial commit před 12 roky
conn.go 1627eef2a3 Improve documentation. před 12 roky
conn_test.go 273ecadfca Initial commit před 12 roky
doc.go 273ecadfca Initial commit před 12 roky
json.go 273ecadfca Initial commit před 12 roky
json_test.go 273ecadfca Initial commit před 12 roky
server.go 1627eef2a3 Improve documentation. před 12 roky
server_test.go 80c1e5a741 Add Subprotocols helper function. před 12 roky
util.go 273ecadfca Initial commit před 12 roky

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