Documentation ¶
Index ¶
- type EchoRouter
- func (_m *EchoRouter) CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- type ServerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoRouter ¶
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 ¶
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) GetOpenapi ¶
func (_m *ServerInterface) GetOpenapi(ctx echo.Context) error
GetOpenapi provides a mock function with given fields: ctx