Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockController ¶
MockController is an autogenerated mock type for the Controller type
func NewMockController ¶
func NewMockController(t mockConstructorTestingTNewMockController) *MockController
NewMockController creates a new instance of MockController. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockController) Mount ¶
func (_m *MockController) Mount(r *Router)
Mount provides a mock function with given fields: r
type Router ¶
type Router struct {
*fiber.App
}
Router struct.
func (*Router) AddController ¶
func (r *Router) AddController(controller Controller)
AddController to Router.
Click to show internal directories.
Click to hide internal directories.