I've been using this one w/o issue and at scale as well; https://github.com/nhooyr/websocket
It also supports wasm. On Mon, Dec 12, 2022, 1:22 PM Robert Engels <reng...@ix.netcom.com> wrote: > I personally like minimal packages like this. Makes them easier to > tailor/debug if something goes wrong. Also simpler to take ownership/fork > if needed - than a package with a ton of code. > > On Dec 12, 2022, at 3:14 PM, Amnon <amno...@gmail.com> wrote: > > By stdlib, you presumably mean the x/net/websocket package, which is > simple ad has a clean API. > But it is also frozen, and has not been updated for 6 years. > Its docs begin with a deprecation notice: > > // This package currently lacks some features found in alternative > // and more actively maintained WebSocket packages: > // > // https://godoc.org/github.com/gorilla/websocket > // https://godoc.org/nhooyr.io/websocket > > https://github.com/golang/net/blob/master/websocket/websocket.go#L8-L12 > > Should I ignore this notice and go ahead and build my system ontop of > x/net/websocket? > > What would people recommend, if I need a implementation which is robust, > secure and performant? > > > On Monday, 12 December 2022 at 20:35:59 UTC ren...@ix.netcom.com wrote: > >> You can use the stdlib websocket. See >> https://github.com/robaho/go-trader/blob/master/internal/exchange/webserver.go >> for >> an example. >> >> On Dec 12, 2022, at 12:57 PM, Amnon <amn...@gmail.com> wrote: >> >> Which websocket implementation would people recommend for a new project, >> >> >> now that gorilla/websocket has been archived? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/b9bacd1c-62de-4f6f-b249-44464b61cdcen%40googlegroups.com >> <https://groups.google.com/d/msgid/golang-nuts/b9bacd1c-62de-4f6f-b249-44464b61cdcen%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/e49c2e82-9dcb-4771-a88b-65585ca330f1n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/e49c2e82-9dcb-4771-a88b-65585ca330f1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/14760CB9-DB67-463B-A69D-81F3F5848FCA%40ix.netcom.com > <https://groups.google.com/d/msgid/golang-nuts/14760CB9-DB67-463B-A69D-81F3F5848FCA%40ix.netcom.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2Bh8R2rHVs%2BnxxysuLOu9Ab3MCc3LNuiE5B5LUWihQhPDNCaYw%40mail.gmail.com.