[go-nuts] Re: [generics] notes on adding generics to a package

2021-02-09 Thread Ben Burkert
Thanks for reading! > One question: did you consider using data []*T in the buffer? If so, > what made you discount it? It seems a natural way to indicate "empty" > slots in the slice. I didn't consider using a []*T at the outset because I assumed that the Buffer type would still need to be

[go-nuts] [generics] notes on adding generics to a package

2021-01-29 Thread Ben Burkert
Hi Gophers, I wrote a blog post on my experience updating a package to use the latest proposed generics feature with the go2go tool. My overall impression is quite good as it was able to solve some existing problems with the package. Thanks to Go team & gopher community for all your work making

[go-nuts] [ANN] dns - manipulate net.Dialer DNS queries

2017-12-18 Thread Ben Burkert
Hi Gophers, dns is a package for intercepting and modifying DNS queries generated by the stdlib's net package. Queries generated by a net.Dialer can be redirected to an alternative resolver, sent over a TLS connection, or answered and cached locally. It also includes a DNS server implementation.

[go-nuts] Amplifying effects of TLS connection flood

2016-10-21 Thread Ben Burkert
Hi folks, This started out as a response to the 'http ssl "can't identify protocol"' thread but encompasses more than the original discussion: https://groups.google.com/d/msg/golang-nuts/FeI0f4TBhWk/hkWKrDNpAgAJ I have also noticed a similar problems with high numbers of TCP connections in the

[go-nuts] [ANN] treqs: HTTP request tracing

2016-07-17 Thread Ben Burkert
Hi Gophers, I've put together a small package for tracing individual HTTP requests with runtime/trace. docs: https://godoc.org/github.com/benburkert/treqs repo: https://github.com/benburkert/treqs Cheers, -Ben -- You received this message because you are subscribed to the Google Groups