mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: Add go-github-com-coder-websocket.
* gnu/packages/golang-web.scm (go-github-com-coder-websocket): New variable. Change-Id: Ia3533f889aacb478b29d8c5ec4cd86a23ba411cc
This commit is contained in:
parent
789300000c
commit
44c9441434
1 changed files with 51 additions and 0 deletions
|
@ -722,6 +722,57 @@ (define-public go-github-com-chris-ramon-douceur
|
||||||
(description "This package provides a CSS parser and inliner.")
|
(description "This package provides a CSS parser and inliner.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-coder-websocket
|
||||||
|
(package
|
||||||
|
(name "go-github-com-coder-websocket")
|
||||||
|
(version "1.8.12")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/coder/websocket")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "172v9mqghswf50ga512qghb6ii0ivz5fi2iyjzdnbm42g0cr4fjj"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:import-path "github.com/coder/websocket"))
|
||||||
|
(home-page "https://github.com/coder/websocket")
|
||||||
|
(synopsis "WebSocket library for Go")
|
||||||
|
(description
|
||||||
|
"@code{websocket} is a minimal and idiomatic
|
||||||
|
@url{https://websockets.spec.whatwg.org/, WebSocket} library for Go.
|
||||||
|
|
||||||
|
Main features:
|
||||||
|
@itemize
|
||||||
|
@item Minimal and idiomatic API.
|
||||||
|
@item First class @url{https://blog.golang.org/context, context.Context}
|
||||||
|
support.
|
||||||
|
@item Fully passes the WebSocket
|
||||||
|
@url{https://github.com/crossbario/autobahn-testsuite, autobahn-testsuite}.
|
||||||
|
@item @url{https://pkg.go.dev/github.com/coder/websocket?tab=imports,
|
||||||
|
Zero dependencies}.
|
||||||
|
@item JSON helpers in the @url{https://pkg.go.dev/github.com/coder/websocket/wsjson,
|
||||||
|
wsjson} subpackage
|
||||||
|
@item Zero alloc reads and writes.
|
||||||
|
@item Concurrent writes.
|
||||||
|
@item @url{https://pkg.go.dev/github.com/coder/websocket#Conn.Close,
|
||||||
|
Close handshake}.
|
||||||
|
@item @url{https://pkg.go.dev/github.com/coder/websocket#NetConn, net.Conn}
|
||||||
|
wrapper
|
||||||
|
@item @url{https://pkg.go.dev/github.com/coder/websocket#Conn.Ping, Ping pong}
|
||||||
|
API.
|
||||||
|
@item @url{https://tools.ietf.org/html/rfc7692, RFC 7692} permessage-deflate
|
||||||
|
compression.
|
||||||
|
@item @url{https://pkg.go.dev/github.com/coder/websocket#Conn.CloseRead,
|
||||||
|
CloseRead} helper for write only connections
|
||||||
|
@item Compile to @url{https://pkg.go.dev/github.com/coder/websocket#hdr-Wasm,
|
||||||
|
Wasm}.
|
||||||
|
@end itemize
|
||||||
|
")
|
||||||
|
(license license:isc)))
|
||||||
|
|
||||||
(define-public go-github-com-containerd-typeurl
|
(define-public go-github-com-containerd-typeurl
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-containerd-typeurl")
|
(name "go-github-com-containerd-typeurl")
|
||||||
|
|
Loading…
Reference in a new issue