mocks

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 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 Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func NewHandler added in v1.11.21

func NewHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *Handler

NewHandler creates a new instance of Handler. 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 (*Handler) ServeGraphQL

func (_m *Handler) ServeGraphQL() http.HandlerFunc

ServeGraphQL provides a mock function with given fields:

func (*Handler) ServePlayground

func (_m *Handler) ServePlayground(resp http.ResponseWriter, req *http.Request)

ServePlayground provides a mock function with given fields: resp, req

func (*Handler) ServeVoyager

func (_m *Handler) ServeVoyager(resp http.ResponseWriter, req *http.Request)

ServeVoyager provides a mock function with given fields: resp, req

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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