Install golang-github-mreiferson-go-httpclient-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-mreiferson-go-httpclient-dev
Description:
Go HTTP client with timeouts
This Go package provides an HTTP Transport that implements the RoundTripper interface and can be used as a built in replacement for the standard library's, providing: . * connection timeouts * request timeouts . This is a thin wrapper around http.Transport that sets dial timeouts and uses Go's internal timer scheduler to call the Go 1.1+ CancelRequest() API.
Homepage: https://github.com/mreiferson/go-httpclient
Version: 0.0~git20160630.0.31f0106-2
Section: universe/devel