mocks

package
v0.0.0-...-ff63446 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPError

type HTTPError struct {
	mock.Mock
}

HTTPError is an autogenerated mock type for the HTTPError type

func NewHTTPError

func NewHTTPError(t mockConstructorTestingTNewHTTPError) *HTTPError

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

func (*HTTPError) Error

func (_m *HTTPError) Error() string

Error provides a mock function with given fields:

func (*HTTPError) Log

func (_m *HTTPError) Log() bool

Log provides a mock function with given fields:

func (*HTTPError) ToJSON

func (_m *HTTPError) ToJSON() string

ToJSON provides a mock function with given fields:

func (*HTTPError) Write

func (_m *HTTPError) Write(httpResponse http.ResponseWriter, logger *zap.Logger)

Write provides a mock function with given fields: httpResponse, logger

Jump to

Keyboard shortcuts

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