2018-08-06 19:47:05 +00:00
|
|
|
# Gorilla WebSocket
|
|
|
|
|
2019-09-07 20:46:58 +00:00
|
|
|
[![GoDoc](https://godoc.org/github.com/gorilla/websocket?status.svg)](https://godoc.org/github.com/gorilla/websocket)
|
|
|
|
[![CircleCI](https://circleci.com/gh/gorilla/websocket.svg?style=svg)](https://circleci.com/gh/gorilla/websocket)
|
|
|
|
|
2018-08-06 19:47:05 +00:00
|
|
|
Gorilla WebSocket is a [Go](http://golang.org/) implementation of the
|
|
|
|
[WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol.
|
|
|
|
|
2022-03-12 18:41:07 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
⚠️ **[The Gorilla WebSocket Package is looking for a new maintainer](https://github.com/gorilla/websocket/issues/370)**
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2018-08-06 19:47:05 +00:00
|
|
|
### Documentation
|
|
|
|
|
2020-05-23 22:06:21 +00:00
|
|
|
* [API Reference](https://pkg.go.dev/github.com/gorilla/websocket?tab=doc)
|
2018-08-06 19:47:05 +00:00
|
|
|
* [Chat example](https://github.com/gorilla/websocket/tree/master/examples/chat)
|
|
|
|
* [Command example](https://github.com/gorilla/websocket/tree/master/examples/command)
|
|
|
|
* [Client and server example](https://github.com/gorilla/websocket/tree/master/examples/echo)
|
|
|
|
* [File watch example](https://github.com/gorilla/websocket/tree/master/examples/filewatch)
|
|
|
|
|
|
|
|
### Status
|
|
|
|
|
|
|
|
The Gorilla WebSocket package provides a complete and tested implementation of
|
|
|
|
the [WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol. The
|
|
|
|
package API is stable.
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
go get github.com/gorilla/websocket
|
|
|
|
|
|
|
|
### Protocol Compliance
|
|
|
|
|
|
|
|
The Gorilla WebSocket package passes the server tests in the [Autobahn Test
|
2019-09-07 20:46:58 +00:00
|
|
|
Suite](https://github.com/crossbario/autobahn-testsuite) using the application in the [examples/autobahn
|
2018-08-06 19:47:05 +00:00
|
|
|
subdirectory](https://github.com/gorilla/websocket/tree/master/examples/autobahn).
|
|
|
|
|