public

package
v0.0.0-...-4bfe12e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-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 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.

func (*ServerInterface) CreateTodo

func (_m *ServerInterface) CreateTodo(ctx echo.Context) error

CreateTodo provides a mock function with given fields: ctx

func (*ServerInterface) DeleteTodo

func (_m *ServerInterface) DeleteTodo(ctx echo.Context, todoId uuid.UUID) error

DeleteTodo provides a mock function with given fields: ctx, todoId

func (*ServerInterface) GetAllTodos

func (_m *ServerInterface) GetAllTodos(ctx echo.Context) error

GetAllTodos provides a mock function with given fields: ctx

func (*ServerInterface) GetTodo

func (_m *ServerInterface) GetTodo(ctx echo.Context, todoId uuid.UUID) error

GetTodo provides a mock function with given fields: ctx, todoId

func (*ServerInterface) PatchTodo

func (_m *ServerInterface) PatchTodo(ctx echo.Context, todoId uuid.UUID) error

PatchTodo provides a mock function with given fields: ctx, todoId

func (*ServerInterface) UpdateTodo

func (_m *ServerInterface) UpdateTodo(ctx echo.Context, todoId uuid.UUID) error

UpdateTodo provides a mock function with given fields: ctx, todoId

Jump to

Keyboard shortcuts

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