Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 28 Feb 2018 15:00:00 +0000 Testing Your (HTTP) Handlers in Go #go #testing #http Building a web (HTTP) service in Go? Let's talk about how to unit test your handler functions, injecting the necessary dependencies, and mocking the rest. 12 points posted by Manuel Weiss https://blog.codeship.com/testing-http-handlers-go 854 Wed, 25 May 2016 14:53:00 +0000 HTTP 2 push in Go 1.8 #http2 #net 10 points posted by tomf https://rakyll.org/http2push 1348 Tue, 13 Dec 2016 14:05:00 +0000 HTTP2 server now enabled by default at go tip #http2 10 points posted by kenny https://twitter.com/bradfitz/status/654437821382455296 253 Wed, 14 Oct 2015 23:45:00 +0000 How to test Go HTTPS Services #web #https #testing A quick overview about how to write unit, and integration tests for Go HTTPS Services. 8 points posted by Luca Guidi https://blog.dnsimple.com/2017/08/how-to-test-golang-https-services 2612 Fri, 01 Sep 2017 08:54:00 +0000 MQ - a message queue broker which supports http2 #data #http2 #net It is used mainly for testing. Purely a toy project according to the author but interesting all the same. 5 points posted by kenny https://github.com/asim/mq 1380 Sun, 18 Dec 2016 15:16:00 +0000 Let the doer do it #http #web There are lots of Go packages out there that make HTTP requests, maybe because they wrap a RESTful API or they do web crawling, etc. Regardless of the reason, at some point they use an *http.Client to make those requests. This article is a recommendation on how I believe this client should be managed in the context of reusable packages. But let’s start by looking at various common ways it is used, and why this isn’t optimal. 3 points posted by kenny https://0value.com/Let-the-Doer-Do-it 597 Tue, 16 Feb 2016 23:39:00 +0000 HTTP2 Server Push in Go #http2 #net 3 points posted by lolly http://blog.xebia.com/2015/08/23/http2-server-push 196 Fri, 09 Oct 2015 12:10:00 +0000