Documentation
¶
Index ¶
- type AuthController
- type AuthControllerImpl
- type GraphController
- type GraphControllerImpl
- type TodoController
- type TodoControllerImpl
- func (controller *TodoControllerImpl) Create(e echo.Context) error
- func (controller *TodoControllerImpl) Delete(e echo.Context) error
- func (controller *TodoControllerImpl) FindAll(e echo.Context) error
- func (controller *TodoControllerImpl) FindById(e echo.Context) error
- func (controller *TodoControllerImpl) ReverseIsDone(e echo.Context) error
- func (controller *TodoControllerImpl) Update(e echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
func NewAuthController ¶
func NewAuthController(authService service.AuthService, validate *validator.Validate) AuthController
type AuthControllerImpl ¶
type AuthControllerImpl struct {
AuthService service.AuthService
Validate *validator.Validate
}
func (*AuthControllerImpl) Authenticate ¶
func (controller *AuthControllerImpl) Authenticate(e echo.Context) error
type GraphController ¶
func NewGraphController ¶
func NewGraphController(p http.Handler, q http.Handler) GraphController
type GraphControllerImpl ¶
func (*GraphControllerImpl) PlayGround ¶
func (controller *GraphControllerImpl) PlayGround(e echo.Context) error
type TodoController ¶
type TodoController interface {
Create(echo.Context) error
FindAll(echo.Context) error
FindById(echo.Context) error
Update(echo.Context) error
Delete(echo.Context) error
ReverseIsDone(echo.Context) error
}
func NewTodoController ¶
func NewTodoController(todoService service.TodoService, validate *validator.Validate) TodoController
type TodoControllerImpl ¶
type TodoControllerImpl struct {
TodoService service.TodoService
Validate *validator.Validate
}
func (*TodoControllerImpl) Create ¶
func (controller *TodoControllerImpl) Create(e echo.Context) error
func (*TodoControllerImpl) Delete ¶
func (controller *TodoControllerImpl) Delete(e echo.Context) error
func (*TodoControllerImpl) FindAll ¶
func (controller *TodoControllerImpl) FindAll(e echo.Context) error
func (*TodoControllerImpl) FindById ¶
func (controller *TodoControllerImpl) FindById(e echo.Context) error
func (*TodoControllerImpl) ReverseIsDone ¶
func (controller *TodoControllerImpl) ReverseIsDone(e echo.Context) error
Click to show internal directories.
Click to hide internal directories.