mocks

package
v2.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetFuncVar func(url string) (resp *http.Response, err error)
)

Functions

This section is empty.

Types

type Client

type Client struct {
	GetFunc func(url string) (resp *http.Response, err error)
}

Client is the mock client

func (*Client) Get

func (m *Client) Get(url string) (resp *http.Response, err error)

Jump to

Keyboard shortcuts

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