proxy.golang.org : github.com/racker/go-restclient
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
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/racker/go-restclient
License: Apache-2.0
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/racker
Dependent repositories: 1
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago