A fast, well-tested and widely used WebSocket implementation for Go.
Go to file
Canelo Hill eb890c85fd Handle errcheck warnings
The package ignored errors from net.Conn Set*Deadline in a few places.
Update the package to return these errors to the caller.

Ignore all other errors reported by errcheck. These errors are safe to
ignore because
- The function is making a best effort to cleanup while handling another
  error.
- The function call is guaranteed to succeed.
- The error is ignored in a test.
2024-06-19 21:35:26 -06:00
.circleci Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
.github Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
examples Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
.gitignore Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
AUTHORS Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
LICENSE Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
README.md Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
client.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
client_server_test.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
client_test.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
compression.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
compression_test.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
conn.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
conn_broadcast_test.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
conn_test.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
doc.go docs: Fix typo. (#568) 2020-03-19 10:45:00 -07:00
example_test.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
go.mod Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
go.sum Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
join.go Add JoinMessages 2019-02-04 16:42:47 -08:00
join_test.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
json.go Misc cleanup 2017-07-18 13:21:30 -07:00
json_test.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
mask.go Revert " Update go version & add verification/testing tools (#840)" 2024-05-01 18:51:54 +05:30
mask_safe.go Update source to match output from gofmt 1.17 2021-12-17 22:48:51 -05:00
mask_test.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
prepared.go Use empty struct to protect writing (#566) 2020-03-19 06:52:00 -07:00
prepared_test.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
proxy.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
server.go Handle errcheck warnings 2024-06-19 21:35:26 -06:00
server_test.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
tls_handshake.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
tls_handshake_116.go Revert " Update go version & add verification/testing tools (#840)" 2024-05-01 18:51:54 +05:30
util.go Revert " Update go version & add verification/testing tools (#840)" 2024-05-01 18:51:54 +05:30
util_test.go Reverts to v1.5.0 2024-06-13 23:18:03 -04:00
x_net_proxy.go Revert " Update go version & add verification/testing tools (#840)" 2024-05-01 18:51:54 +05:30

README.md

Gorilla WebSocket

GoDoc CircleCI

Gorilla WebSocket is a Go implementation of the WebSocket protocol.

Documentation

Status

The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket 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 Suite using the application in the examples/autobahn subdirectory.