Based on this https://pauladamsmith.com/blog/2016/04/max-clients-go-net-http.html.
Install boom:
go get github.com/rakyll/boom
On first shell:
go run max-clients.go
On second shell:
boom -n 10 -c 2 http://127.0.0.1:8080
Try increase number of requests and concurrency level to get timeout response.