Documentation ¶
Overview ¶
Package handlerindex is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexHandler ¶
type IndexHandler struct {
// contains filtered or unexported fields
}
IndexHandler is a callback handler.
func (*IndexHandler) Get ¶
func (h *IndexHandler) Get(c *fiber.Ctx) error
Get handles GET /indexes/:id request.
type IndexService ¶
IndexService is an index service.
type MockIndexService ¶
type MockIndexService struct {
// contains filtered or unexported fields
}
MockIndexService is a mock of IndexService interface.
func NewMockIndexService ¶
func NewMockIndexService(ctrl *gomock.Controller) *MockIndexService
NewMockIndexService creates a new mock instance.
func (*MockIndexService) EXPECT ¶
func (m *MockIndexService) EXPECT() *MockIndexServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIndexServiceMockRecorder ¶
type MockIndexServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexServiceMockRecorder is the mock recorder for MockIndexService.
func (*MockIndexServiceMockRecorder) GetIndex ¶
func (mr *MockIndexServiceMockRecorder) GetIndex(ctx, id interface{}) *gomock.Call
GetIndex indicates an expected call of GetIndex.
Click to show internal directories.
Click to hide internal directories.