A fast, well-tested and widely used WebSocket implementation for Go.
Go to file
apoorvajagtap 58af150309 return errors instead of printing to logs 2024-04-01 22:33:57 -04:00
.github/workflows excludes errchecks linter 2024-03-19 23:16:28 -04:00
examples feat: format message type 2024-02-13 23:01:06 -05:00
vendor update golang.org/x/net (#856) 2023-10-17 19:57:41 -04:00
.editorconfig Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
.gitignore Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
.golangci.yml excludes errchecks linter 2024-03-19 23:16:28 -04:00
LICENSE Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
Makefile Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
README.md Update README.md, replace master to main (#862) 2023-11-08 13:57:41 -05:00
client.go return errors instead of printing to logs 2024-04-01 22:33:57 -04:00
client_server_test.go return errors instead of printing to logs 2024-04-01 22:33:57 -04:00
client_test.go make tests parallel 2024-01-21 22:46:55 -05:00
compression.go Remove noisy printf in NextReader() 2023-12-10 23:08:54 -05:00
compression_test.go make tests parallel 2024-01-21 22:46:55 -05:00
conn.go Do not timeout when WriteControl deadline is zero 2024-03-05 22:56:06 -05:00
conn_broadcast_test.go Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
conn_test.go Do not timeout when WriteControl deadline is zero 2024-03-05 22:56:06 -05:00
doc.go docs: Fix typo. (#568) 2020-03-19 10:45:00 -07:00
example_test.go make tests parallel 2024-01-21 22:46:55 -05:00
go.mod update GitHub workflows (#857) 2023-10-18 17:57:41 +05:30
go.sum update golang.org/x/net (#856) 2023-10-17 19:57:41 -04:00
join.go Add JoinMessages 2019-02-04 16:42:47 -08:00
join_test.go make tests parallel 2024-01-21 22:46:55 -05:00
json.go Misc cleanup 2017-07-18 13:21:30 -07:00
json_test.go make tests parallel 2024-01-21 22:46:55 -05:00
mask.go Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +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 make tests parallel 2024-01-21 22:46:55 -05:00
prepared.go Use empty struct to protect writing (#566) 2020-03-19 06:52:00 -07:00
prepared_test.go Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
proxy.go return errors instead of printing to logs 2024-04-01 22:33:57 -04:00
server.go return errors instead of printing to logs 2024-04-01 22:33:57 -04:00
server_test.go use http.ResposnseController 2024-01-21 22:52:10 -05:00
tls_handshake.go Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
util.go Update go version & add verification/testing tools (#840) 2023-08-27 01:31:45 +05:30
util_test.go make tests parallel 2024-01-21 22:46:55 -05:00

README.md

gorilla/websocket

testing codecov godoc sourcegraph

Gorilla WebSocket is a Go implementation of the WebSocket protocol.

Gorilla Logo

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.