Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewReverseProxy ¶
func NewReverseProxy(endpointUrl *url.URL, transport http.RoundTripper) *httputil.ReverseProxy
Types ¶
type Signer ¶
type Signer interface {
SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(options *signer.SignerOptions)) error
}
Signer represents an interface that v1 and v2 aws sdk follows to sign http requests
type Transport ¶
type Transport struct { BaseTransport http.RoundTripper // contains filtered or unexported fields }
Transport implements http.RoundTripper and optionally wraps another RoundTripper
func NewTransport ¶
func NewTransport(signer Signer, credentials aws.Credentials, service, region string) *Transport
Creates a new transport that can be used by http.Client If region is unspecified, AWS_REGION environment variable is used
Click to show internal directories.
Click to hide internal directories.