proxy.golang.org : github.com/racker/go-restclient : v1.1.0
Package restclient provides a higher-order type that simplifies calling REST APIs. It wraps the standard http and json packages to provide the following features: JSON encoding of request entity, JSON parsing of response entity, conversion of non-2xx responses into a structured error type including response body extraction, timeout management, easier request URL building given a client-wide base URL and query values, auto-closing of the response body, interceptors to inject authentication tokens, etc Quick example
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/racker/[email protected]
Published:
Indexed: