echo

package
v0.0.0-...-c4cdb05 Latest Latest
Warning

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

Go to latest
Published: May 31, 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 Healthcheck

type Healthcheck struct {
	mock.Mock
}

Healthcheck is an autogenerated mock type for the Healthcheck type

func NewHealthcheck

func NewHealthcheck(t interface {
	mock.TestingT
	Cleanup(func())
}) *Healthcheck

NewHealthcheck creates a new instance of Healthcheck. 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 (*Healthcheck) GetLivez

func (_m *Healthcheck) GetLivez(ctx echo.Context) error

GetLivez provides a mock function with given fields: ctx

func (*Healthcheck) GetReadyz

func (_m *Healthcheck) GetReadyz(ctx echo.Context) error

GetReadyz provides a mock function with given fields: ctx

type Todo

type Todo struct {
	mock.Mock
}

Todo is an autogenerated mock type for the Todo type

func NewTodo

func NewTodo(t interface {
	mock.TestingT
	Cleanup(func())
}) *Todo

NewTodo creates a new instance of Todo. 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 (*Todo) CreateTodo

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

CreateTodo provides a mock function with given fields: ctx

func (*Todo) DeleteTodo

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

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

func (*Todo) GetAllTodos

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

GetAllTodos provides a mock function with given fields: ctx

func (*Todo) GetTodo

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

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

func (*Todo) PatchTodo

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

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

func (*Todo) UpdateTodo

func (_m *Todo) 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