Re: [go-nuts] Which websockets implementation

2022-12-12 Thread 'Christian Stewart' via golang-nuts
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 wrote: > I personally like minimal packages like this. Makes them easier to > tailor/debug if something goes wrong. Also simpler to ta

Re: [go-nuts] Which websockets implementation

2022-12-12 Thread Robert Engels
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 wrote: > > By stdlib, you presumably mean the x/net/websocket packa

Re: [go-nuts] Which websockets implementation

2022-12-12 Thread Amnon
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 maintaine

Re: [go-nuts] Shellquote in stdlib

2022-12-12 Thread Martin Atkins
I don't think the Go command is using a shell to parse the value of the -gcflags option. I believe that the syntax for this option is handled by an internal function called quoted.Split

Re: [go-nuts] Which websockets implementation

2022-12-12 Thread Robert Engels
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 wrote: > > Which websocket implementation would people recommend for a new project, > now that gorilla/websocket has been

Re: [go-nuts] CRC32C with seed value

2022-12-12 Thread Mike Campin
Shouldn't the polynomial be 0x1EDC6F41 instead of 0x1EDC6F1 On Saturday, July 11, 2015 at 10:18:15 AM UTC-7 Joe Poirier wrote: > On Sat, Jul 11, 2015 at 10:25 AM, Akira Hayakawa > wrote: > >> Hi, >> >> I am at loss how I can compute crc32c hash value with given seed. >> >> Some C libraries incl

[go-nuts] Which websockets implementation

2022-12-12 Thread Amnon
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

Re: [go-nuts] Chromebook golang environment?

2022-12-12 Thread Robert Engels
You can also use remote VMs like GCP to run VSCode. Chrome book works for that. > On Dec 12, 2022, at 8:54 AM, Bruno Albuquerque wrote: > > If you just mean being able to write Go programs in a Chromebook, most > recent ones have Linux support so you can just use that. > >> On Mon, Dec 12, 20

Re: [go-nuts] Chromebook golang environment?

2022-12-12 Thread Bruno Albuquerque
If you just mean being able to write Go programs in a Chromebook, most recent ones have Linux support so you can just use that. On Mon, Dec 12, 2022 at 2:59 AM Ken wrote: > > Hi, does a golang dev environment exist for Chromebook computers? > > Sent from my iPhone > > -- > You received this messa

[go-nuts] Re: Hide Golang Code from Exported package

2022-12-12 Thread Brian Candler
Distribute your library as a grpc server. https://github.com/hashicorp/go-plugin On Monday, 12 December 2022 at 07:56:52 UTC nsing...@gmail.com wrote: > Actually i need to share it as an sdk. So any way i can share > > On Thursday, December 8, 2022 at 1:13:17 PM UTC+5:30 marc...@gmail.com > wrot