v4

package
v6.2.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: MIT Imports: 4 Imported by: 271

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 V4Transport

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

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

func (V4Transport) RoundTrip

func (st V4Transport) 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