package
1.0.12
Repository: https://github.com/clearblade/go-iot.git
Documentation: pkg.go.dev

# Functions

DecodeResponse decodes the body of res into target.
MarshalJSON returns a JSON encoding of schema containing only selected fields.
SendRequest sends a single HTTP request using the given client.
SendRequestWithRetry sends a single HTTP request using the given client, with retries if a retryable error is returned.
SetOptions sets the URL params and any additional `CallOption` or `MultiCallOption` passed in.
WrapError creates an [apierror.APIError] from err, wraps it in err, and returns err.

# Structs

RetryConfig allows configuration of backoff timing and retryable errors.

# Interfaces

Backoff is an interface around gax.Backoff's Pause method, allowing tests to provide their own implementation.

# Type aliases

URLParams is a simplified replacement for url.Values that safely builds up URL parameters for encoding.