package
0.3.0
Repository: https://github.com/cpuguy83/go-docker.git
Documentation: pkg.go.dev

# Functions

CheckResponseError checks the http response for standard error codes.
DoRequest performs the passed in function, passing it the provided context.
LimitResponse limits the size of the response body.
WithJSONBody is a request option that sets the request body to the JSON encoded version of the passed in value.
WithResponseLimit sets a limit for the max size to read from an http response.
WithResponseLimitIfEmpty is like WithResponseLimit, but only sets a limit if none is set.

# Constants

UnlimitedResponseLimit is a value that can be used to indicate that a response should not be limited.

# Variables

The default limit used by the client when reading response bodies.