...

Package protocoltest

import "github.com/aws/aws-sdk-go-v2/internal/protocoltest"
Overview
Index

Overview ▾

type HTTPClient

HTTPClient is a mock http client used by protocol test cases to respond success response back

type HTTPClient struct{}

func NewClient

func NewClient() *HTTPClient

NewClient returns pointer of a new HTTPClient for protocol test client

func (*HTTPClient) Do

func (*HTTPClient) Do(request *http.Request) (*http.Response, error)

Do returns a mock success response to caller