package
0.5.0
Repository: https://github.com/hookdeck/hookdeck-go-sdk.git
Documentation: pkg.go.dev

# Functions

DoRequest issues a JSON request to the given url.
NewAPIError constructs a new API error.
NewClientOptions returns a new *ClientOptions value.

# Structs

APIError is a lightweight wrapper around the standard error interface that preserves the status code from the RPC, if any.
ClientOptions defines all of the possible client options.
Optional is a wrapper used to distinguish zero values from null or omitted fields.

# Interfaces

HTTPClient is an interface for a subset of the *http.Client.

# Type aliases

ClientOption adapts the behavior of the generated client.
ErrorDecoder decodes *http.Response errors and returns a typed API error (e.g.