v4

package
Version: v6.2.27+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL