client

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InternalRequestToNative

func InternalRequestToNative(baseURL string, request internalHTTP.Request) (*http.Request, error)

Types

type Client

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

func New

func New(httpRequestDoer HTTPRequestDoer, baseURL string, requestModifiers ...RequestModifier) *Client

func (*Client) ExecuteRequest

func (executor *Client) ExecuteRequest(request internalHTTP.Request) (internalHTTP.Response, error)

type HTTPRequestDoer

type HTTPRequestDoer interface {
	Do(request *http.Request) (*http.Response, error)
}

type IAMAuthorizingModifier

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

func NewIAMAuthorizingModifier

func NewIAMAuthorizingModifier(signer *v4.Signer, signatureRegion string) *IAMAuthorizingModifier

func (*IAMAuthorizingModifier) ModifyRequest

func (modifier *IAMAuthorizingModifier) ModifyRequest(request *http.Request) error

type RequestModifier

type RequestModifier interface {
	ModifyRequest(request *http.Request) error
}

type RequestToNativeConverter

type RequestToNativeConverter interface {
	ConvertRequestToNative()
}

Jump to

Keyboard shortcuts

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