mocks

package
v0.0.0-...-eb43240 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 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 Handlers

type Handlers struct {
	mock.Mock
}

Handlers is an autogenerated mock type for the Handlers type

func NewHandlers

func NewHandlers(t interface {
	mock.TestingT
	Cleanup(func())
}) *Handlers

NewHandlers creates a new instance of Handlers. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Handlers) Info

func (_m *Handlers) Info(rw http.ResponseWriter, r *http.Request)

Info provides a mock function with given fields: rw, r

func (*Handlers) Ping

func (_m *Handlers) Ping(rw http.ResponseWriter, r *http.Request)

Ping provides a mock function with given fields: rw, r

Jump to

Keyboard shortcuts

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