Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { // Signer is the underlying request signer used when making requests. Signer Signer // Transport is the underlying HTTP transport to use when making requests. // It will default to http.DefaultTransport if nil. Transport http.RoundTripper }
Transport allows to make signed calls to AWS endpoints.
type V4Signer ¶
type V4Signer struct { Region string SecretKey string AccessKey string SecurityToken string Service string Clock func() time.Time }
V4Signer allows to sign a request following AWS V4 signature requirements.
func (*V4Signer) Transport ¶
func (s *V4Signer) Transport() http.RoundTripper
Transport returns a http.RoundTripper using this signer to sign requests.
Click to show internal directories.
Click to hide internal directories.