mocks

package
v1.11.1 Latest Latest
Warning

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

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