Hacker GitHub

← All repos

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

Mentions per year 21 mentions · busiest year 2016 (4)
20082026
  1. …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…
  2. …go mod tidy because I face this error exedev@crimson-cobra:~$ go mod tidy go: finding module for package github.com/gorilla/websocket go: pomodo imports github.com/gorilla/websocket: module github.com/gorilla/websocket: Get "…
    comment by Imustaskforhelp · 2025-12-27 · in Exe.dev
  3. …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
  4. …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...
  5. ▲ 1
    How to understand gorilla/WebSocket lib?
    story by lab0 · 2020-08-09 · 0 comments
  6. …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…
  7. …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
  8. …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
  9. …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
  10. …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).
  11. …for.) [1] https://github.com/julienschmidt/httprouter [2] https://github.com/jmoiron/sqlx [3] https://github.com/gorilla/websocket
  12. …. 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…
  13. 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
  14. …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
  15. …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…
  16. …(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
  17. https://github.com/gorilla/websocket#gorilla-websocket-compa...
    comment by thegeekpirate · 2016-05-17 · in From Node.js to Go
  18. 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…
  19. I don't get the difference between github.com/gorilla/websocket & github.com/olahol/melody. Does someone have a clue ?
  20. 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.
  21. …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