Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
UserController represents the main controller for domain.User
func NewUserController ¶
func NewUserController(registration application.RegistrationUseCase, validate *validator.Validate, hashService hashApplication.HashService) *UserController
NewUserController creates new UserController
func (*UserController) Register ¶
func (c *UserController) Register(ctx *gin.Context)
Register intercepts the request for registration and push it to the layer below
Click to show internal directories.
Click to hide internal directories.