Documentation ¶
Overview ¶
Package auth contains a non-exhaustive list of custom authentication round trippers to be used as authentication middleware with a gidari HTTP Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoundTrip ¶
RoundTrip is an HTTP round tripper that acts as a middleware to add auth requirements to HTTP requests.
func NewBasicAuthRoundTrip ¶
NewBasicAuthRoundTrip will return a "RoundTrip" function that can be used as a "RoundTrip" function in an "http.RoundTripper" interface to authenticate requests that require basic authentication.
func NewCoinbaseRoundTrip ¶
NewCoinbaseRoundTrip will return a "RoundTrip" function that can be used as a "RoundTrip" function in an "http.RoundTripper" interface to authenticate requests to the Coinbase Cloud API.