Documentation ¶
Index ¶
- type CreateUserDTO
- type IndexUserDTO
- type UserController
- func (uc UserController) CreateUser(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (uc UserController) DeleteUser(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (uc UserController) GetUsers(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (uc UserController) RegisterRoutes(r *httprouter.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserDTO ¶
func (*CreateUserDTO) Validate ¶
func (a *CreateUserDTO) Validate() bool
type IndexUserDTO ¶
type UserController ¶
type UserController struct { }
func New ¶
func New() *UserController
func (UserController) CreateUser ¶
func (uc UserController) CreateUser(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (UserController) DeleteUser ¶
func (uc UserController) DeleteUser(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (UserController) GetUsers ¶
func (uc UserController) GetUsers(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (UserController) RegisterRoutes ¶
func (uc UserController) RegisterRoutes(r *httprouter.Router)
Click to show internal directories.
Click to hide internal directories.