protocoltest

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient struct{}

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

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

Directories

Path Synopsis
awsrestjson module
ec2query module
jsonrpc module
jsonrpc10 module
query module
restxml module

Jump to

Keyboard shortcuts

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