mocks

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPRequest

type HTTPRequest struct {
	mock.Mock
}

HTTPRequest is an autogenerated mock type for the HTTPRequest type

func (*HTTPRequest) Do

func (_m *HTTPRequest) Do(_a0 context.Context, method string, url string, reqBody []byte, headers map[string]string) ([]byte, int, error)

Do provides a mock function with given fields: _a0, method, url, reqBody, headers

type Locker added in v1.8.8

type Locker struct {
	mock.Mock
}

Locker is an autogenerated mock type for the Locker type

func (*Locker) IsLocked added in v1.8.8

func (_m *Locker) IsLocked(key string) (bool, func())

IsLocked provides a mock function with given fields: key

Jump to

Keyboard shortcuts

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