mocks

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 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 Dialer

type Dialer struct {
	mock.Mock
}

Dialer is an autogenerated mock type for the dialer type

func (*Dialer) Dial

func (_m *Dialer) Dial(network string, address string) (net.Conn, error)

Dial provides a mock function with given fields: network, address

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the httpClient type

func (*HttpClient) Get

func (_m *HttpClient) Get(url string) (*http.Response, error)

Get provides a mock function with given fields: url

type IpLookuper

type IpLookuper struct {
	mock.Mock
}

IpLookuper is an autogenerated mock type for the ipLookuper type

func (*IpLookuper) LookupIP

func (_m *IpLookuper) LookupIP(ctx context.Context, network string, host string) ([]net.IP, error)

LookupIP provides a mock function with given fields: ctx, network, host

Jump to

Keyboard shortcuts

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