protocoltest

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 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

Jump to

Keyboard shortcuts

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