mocks

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Do

func (_m *Client) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

type Timeout

type Timeout struct {
	Timeout time.Duration
}

Timeout mock any request with timeout

func (*Timeout) Do

func (t *Timeout) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

Jump to

Keyboard shortcuts

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