private

package
v0.0.0-...-6321d4b Latest Latest
Warning

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

Go to latest
Published: Aug 30, 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 EchoRouter

type EchoRouter struct {
	mock.Mock
}

EchoRouter is an autogenerated mock type for the EchoRouter type

func NewEchoRouter

func NewEchoRouter(t interface {
	mock.TestingT
	Cleanup(func())
}) *EchoRouter

NewEchoRouter creates a new instance of EchoRouter. 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 (*EchoRouter) CONNECT

func (_m *EchoRouter) CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

CONNECT provides a mock function with given fields: path, h, m

func (*EchoRouter) DELETE

func (_m *EchoRouter) DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

DELETE provides a mock function with given fields: path, h, m

func (*EchoRouter) GET

func (_m *EchoRouter) GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

GET provides a mock function with given fields: path, h, m

func (*EchoRouter) HEAD

func (_m *EchoRouter) HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

HEAD provides a mock function with given fields: path, h, m

func (*EchoRouter) OPTIONS

func (_m *EchoRouter) OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

OPTIONS provides a mock function with given fields: path, h, m

func (*EchoRouter) PATCH

func (_m *EchoRouter) PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

PATCH provides a mock function with given fields: path, h, m

func (*EchoRouter) POST

func (_m *EchoRouter) POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

POST provides a mock function with given fields: path, h, m

func (*EchoRouter) PUT

func (_m *EchoRouter) PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

PUT provides a mock function with given fields: path, h, m

func (*EchoRouter) TRACE

func (_m *EchoRouter) TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route

TRACE provides a mock function with given fields: path, h, m

type ServerInterface

type ServerInterface struct {
	mock.Mock
}

ServerInterface is an autogenerated mock type for the ServerInterface type

func NewServerInterface

func NewServerInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServerInterface

NewServerInterface creates a new instance of ServerInterface. 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.

Jump to

Keyboard shortcuts

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