You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- JSON and protobuf helpers in the [wsjson](https://pkg.go.dev/nhooyr.io/websocket/wsjson?tab=doc) and [wspb](https://pkg.go.dev/nhooyr.io/websocket/wspb?tab=doc) subpackages
18
+
- Thorough tests with [90% coverage](https://coveralls.io/github/nhooyr/websocket)
- JSON and protobuf helpers in the [wsjson](https://pkg.go.dev/nhooyr.io/websocket/wsjson) and [wspb](https://pkg.go.dev/nhooyr.io/websocket/wspb) subpackages
For a production quality example that demonstrates the complete API, see the [echo example](https://godoc.org/nhooyr.io/websocket#example-package--Echo).
35
+
For a production quality example that demonstrates the complete API, see the
36
+
[echo example](./examples/echo).
36
37
37
-
For a full stack example, see [./chat-example](./chat-example).
38
+
For a full stack example, see the [chatexample](./examples/chat).
38
39
39
40
### Server
40
41
@@ -98,7 +99,7 @@ Advantages of nhooyr.io/websocket:
- Gorilla writes directly to a net.Conn and so duplicates features of net/http.Client.
104
105
- Concurrent writes
@@ -111,7 +112,7 @@ Advantages of nhooyr.io/websocket:
111
112
- Gorilla's implementation is slower and uses [unsafe](https://golang.org/pkg/unsafe/).
112
113
- Full [permessage-deflate](https://tools.ietf.org/html/rfc7692) compression extension support
113
114
- Gorilla only supports no context takeover mode
114
-
- We use [klauspost/compress](https://github.com/klauspost/compress) for much lower memory usage ([gorilla/websocket#203](https://github.com/gorilla/websocket/issues/203))
115
+
- We use a vendored [klauspost/compress](https://github.com/klauspost/compress) for much lower memory usage ([gorilla/websocket#203](https://github.com/gorilla/websocket/issues/203))
0 commit comments