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 {
Sign(ctx context.Context, r *http.Request, body io.ReadSeeker, service, region string, signTime time.Time) (http.Header, 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 ¶
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.