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.

Reply via email to