File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ See [example_test.go](example_test.go) for more examples.
111
111
112
112
## Comparison
113
113
114
- ### [ gorilla/websocket] ( https://github.com/gorilla/websocket )
114
+ ### gorilla/websocket
115
+
116
+ https://github.com/gorilla/websocket
115
117
116
118
This package is the community standard but it is very old and over timennn
117
119
has accumulated cruft. There are many ways to do the same thing and the API
@@ -122,13 +124,17 @@ overall is just not very clear. Just compare the godoc of
122
124
The API for nhooyr/ws has been designed such that there is only one way to do things
123
125
and with HTTP/2 in mind which makes using it correctly and safely much easier.
124
126
125
- ### [ x/net/websocket] ( https://godoc.org/golang.org/x/net/websocket )
127
+ ### x/net/websocket
128
+
129
+ https://godoc.org/golang.org/x/net/websocket
126
130
127
131
Unmaintained and the API does not reflect WebSocket semantics. Should never be used.
128
132
129
133
See https://github.com/golang/go/issues/18152
130
134
131
- ### [ gobwas/ws] ( https://github.com/gobwas/ws )
135
+ ### gobwas/ws
136
+
137
+ https://github.com/gobwas/ws
132
138
133
139
This library has an extremely flexible API but that comes at the cost of usability
134
140
and clarity. Its just not clear how to do things in a safe manner.
You can’t perform that action at this time.
0 commit comments