gorilla/websocket
View on GitHub ↗ ★ 24,883 Go
Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go.
21 mentions on Hacker News by 18 people: 1 story, 20 comments · first 2014-05-01 · latest 2026-03-19
20082026
-
…github.com/algesten/str0m , tokio + axum (Rust async HTTP), tokio.rs, gorilla/websocket (Go WebSocket) github.com/gorilla/websocket Choose to be sovereign if you want to, host your stream and it will be under your name or corp. Sponsored…
comment by vesperance · 2026-03-19 · in No Twitch, No Middlemen. Host Your Own Livestream -
…package. Not quite. In go, you import 3rd party packages via a URL where a VCS can find them, eg.: import "github.com/gorilla/websocket" The package name is thus both, an unique name for the package AND a location where the toolchain can…
comment by usrbinbash · 2023-11-12 · in Go modules and the domain expiry problem -
…the OP's link to the github project that persisting the chats to a DB was included with this. [0] https://github.com/gorilla/websocket/tree/master/examples/ch...
comment by scrose · 2021-12-30 · in Show HN: I learnt how to use WebSockets, made something beautiful/terrible -
…benchmark is from 2016, but the use of `golang.org/x/net/websocket` package for Go should be replaced with `github.com/gorilla/websocket` and re-run, if it hasn't been already. Based on their git repo, gorilla/websocket has existed in some…
comment by jsd1982 · 2019-10-11 · in 600k concurrent websocket connections on AWS using Node.js (2015) -
…tests and most importantly, less bugs. Furthermore, the future of gorilla/websocket is uncertain. https://github.com/gorilla/websocket/issues/370 https://github.com/nhooyr/websocket#gorillawebsocket
comment by nhooyr · 2019-04-29 · in Show HN: A minimal and idiomatic WebSocket library for Go -
…that loads super fast on the web. It has basically all the same features as before: https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... has code intelligence hovers, Git blame, symbols, etc. What features do you miss?
comment by sqs · 2018-06-16 · in GitLab Web IDE -
…with everything you said except the websocket.. the best websocket lib for golang until now is https://github.com/gorilla/websocket
comment by leaveyou · 2018-02-09 · in Learning Go as a Node.js Developer -
…me.google.com/webstore/detail/sourcegraph-for-gi... or on our public site directly at https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... (for example).
comment by sqs · 2018-01-11 · in Sourcegraph Server 2.4: free, powerful search for private code -
…for.) [1] https://github.com/julienschmidt/httprouter [2] https://github.com/jmoiron/sqlx [3] https://github.com/gorilla/websocket
comment by nishs · 2018-01-07 · in Show HN: A simple Go web server with logging, tracing, health check -
…. And if you want to see what real LSP requests/responses look like, go to https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... and hover/click on tokens with the JS console open. Happy to answer any questions about LSP or our…
comment by sqs · 2017-02-16 · in How Sourcegraph Scales with the Language Server Protocol -
Can a normal web server (a Heroku dyno, for example) with a normal websocket library ( https://github.com/gorilla/websocket , for example) support multiple users connected at the same time? How many in comparison to the number of normal…
comment by fiatjaf · 2017-02-13 · in Show HN: WebSocket-first development -
…Edit: Also sourcegraph (linked in a link in a sibling post) does something similar: https://sourcegraph.com/github.com/gorilla/websocket/-/blob/...
comment by jakub_g · 2016-12-19 · in One Way to Improve Your Coding -
…our roadmap at https://sourcegraph.com/plan . And try browsing code on Sourcegraph: https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... (we support other languages as well). Right-click on "parseURL" and choose "Find All…
comment by sqs · 2016-11-23 · in Show HN: GitPlex – A new Git repo management server with code review -
…(Sourcegraph team member here) to make any Rust library as easy to explore as https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... and https://sourcegraph.com/github.com/staltz/xstream@master/-/b... are for Go and TypeScript.…
comment by beliu · 2016-10-19 · in Introducing Rust Language Server -
https://github.com/gorilla/websocket#gorilla-websocket-compa...
comment by thegeekpirate · 2016-05-17 · in From Node.js to Go -
It's a higher level framework built on top of github.com/gorilla/websocket . Some features include * Clear and easy interface similar to net/http or Gin with event handlers. * A simple way to broadcast to all or selected connected…
comment by ola · 2015-05-27 · in Show HN: Multiplayer NES Server in 77 Lines of Go -
I don't get the difference between github.com/gorilla/websocket & github.com/olahol/melody. Does someone have a clue ?
comment by eynix_ · 2015-05-27 · in Show HN: Multiplayer NES Server in 77 Lines of Go -
mmm, not sure if doing this counts as using 77 lines of code: import ( "github.com/gin-gonic/gin" "github.com/gorilla/websocket" "github.com/olahol/melody" "net/http" "sync" ) But still impressive.
comment by sschueller · 2015-05-27 · in Show HN: Multiplayer NES Server in 77 Lines of Go -
…in recent versions of go? Eg: cd /tmp git clone git@github.com:apg/wipes.git wipes.git cd wipes.git/ go get github.com/gorilla/websocket go get github.com/gorilla/websocket go build ldd wipes.git # > libc.so.6 among others export…
comment by e12e · 2014-05-01 · in Things I Learned Writing a JIT in Go