v4

package
v6.2.16+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewV4SigningClient

func NewV4SigningClient(creds *credentials.Credentials, region string) *http.Client

NewV4SigningClient returns an *http.Client that will sign all requests with AWS V4 Signing.

func NewV4SigningClientWithHTTPClient

func NewV4SigningClientWithHTTPClient(creds *credentials.Credentials, region string, httpClient *http.Client) *http.Client

NewV4SigningClientWithHTTPClient returns an *http.Client that will sign all requests with AWS V4 Signing.

Types

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

Transport is a RoundTripper that will sign requests with AWS V4 Signing

func (Transport) RoundTrip

func (st Transport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip uses the underlying RoundTripper transport, but signs request first with AWS V4 Signing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL