mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 3 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 NewClient

func NewClient(t mockConstructorTestingTNewClient) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Client) Do

func (_m *Client) Do(URL string, method string) (*httputil.Response, error)

Do provides a mock function with given fields: URL, method

type CycleTLS

type CycleTLS struct {
	mock.Mock
}

CycleTLS is an autogenerated mock type for the cycleTLS type

func NewCycleTLS

func NewCycleTLS(t mockConstructorTestingTNewCycleTLS) *CycleTLS

NewCycleTLS creates a new instance of CycleTLS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CycleTLS) Do

func (_m *CycleTLS) Do(_a0 string, _a1 cycletls.Options, _a2 string) (cycletls.Response, error)

Do provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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