mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 1 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) Get

func (_m *Client) Get(url string, expectedStatusCode int) ([]byte, error)

Get provides a mock function with given fields: url, expectedStatusCode

func (*Client) Post

func (_m *Client) Post(url string, expectedStatusCode int, body []byte) ([]byte, error)

Post provides a mock function with given fields: url, expectedStatusCode, body

Jump to

Keyboard shortcuts

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