Bug#1020271: ITP: golang-nhooyr-websocket -- Minimal and idiomatic WebSocket library for Go
Package: wnpp
Severity: wishlist
Owner: Stephen Gelman <ssgelm@debian.org>
* Package name : golang-nhooyr-websocket
Version : 1.8.7-1
Upstream Author : Anmol Sethi
* URL : https://github.com/nhooyr/websocket
* License : Expat
Programming Lang: Go
Description : Minimal and idiomatic WebSocket library for Go
websocket is a minimal and idiomatic WebSocket library for Go.
Highlights
* Minimal and idiomatic API
* First class context.Context (https://blog.golang.org/context) support
* Fully passes the WebSocket autobahn-testsuite
(https://github.com/crossbario/autobahn-testsuite)
* Single dependency
(https://pkg.go.dev/nhooyr.io/websocket?tab=imports)
* 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
* Zero alloc reads and writes
* Concurrent writes
* Close handshake (https://pkg.go.dev/nhooyr.io/websocket#Conn.Close)
* net.Conn (https://pkg.go.dev/nhooyr.io/websocket#NetConn) wrapper
* Ping pong (https://pkg.go.dev/nhooyr.io/websocket#Conn.Ping) API
* RFC 7692 (https://tools.ietf.org/html/rfc7692) permessage-deflate
compression
* Compile to Wasm (https://pkg.go.dev/nhooyr.io/websocket#hdr-Wasm)
This is a dependency for wormhole-william, which is in turn a dependency for
the new release of termshark. This package will be team maintaned by the go
team.
Reply to: