Documentation
¶
Overview ¶
Package models is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
GetRoutes() Routes
}
Controller pattern of rest controller
type MockController ¶
type MockController struct {
// contains filtered or unexported fields
}
MockController is a mock of Controller interface.
func NewMockController ¶
func NewMockController(ctrl *gomock.Controller) *MockController
NewMockController creates a new mock instance.
func (*MockController) EXPECT ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockController) GetRoutes ¶
func (m *MockController) GetRoutes() Routes
GetRoutes mocks base method.
type MockControllerMockRecorder ¶
type MockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerMockRecorder is the mock recorder for MockController.
func (*MockControllerMockRecorder) GetRoutes ¶
func (mr *MockControllerMockRecorder) GetRoutes() *gomock.Call
GetRoutes indicates an expected call of GetRoutes.
type Route ¶
type Route struct {
Path string
Method string
HandlerFunc echo.HandlerFunc
AllowUnauthenticatedUsers bool
RequiredPermissions []string
}
Route Describes a route
type ServerStatus ¶
ServerStatus represents the status of the server swagger:model
type ServerVersion ¶
type ServerVersion struct {
Version string `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.