Documentation ¶
Index ¶
- type RoleController
- func (uh *RoleController) Create(w http.ResponseWriter, r *http.Request)
- func (uh *RoleController) Delete(w http.ResponseWriter, r *http.Request)
- func (uh *RoleController) GetMany(w http.ResponseWriter, r *http.Request)
- func (uh *RoleController) GetOne(w http.ResponseWriter, r *http.Request)
- func (uh *RoleController) Update(w http.ResponseWriter, r *http.Request)
- type UserController
- func (uh *UserController) Create(w http.ResponseWriter, r *http.Request)
- func (uh *UserController) Delete(w http.ResponseWriter, r *http.Request)
- func (uh *UserController) GetMany(w http.ResponseWriter, r *http.Request)
- func (uh *UserController) GetOne(w http.ResponseWriter, r *http.Request)
- func (uh *UserController) Update(w http.ResponseWriter, r *http.Request)
- func (uh *UserController) UpdatePassword(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleController ¶
type RoleController struct {
// contains filtered or unexported fields
}
func NewRoleController ¶
func NewRoleController(roleService *service.RoleService) *RoleController
func (*RoleController) Create ¶
func (uh *RoleController) Create(w http.ResponseWriter, r *http.Request)
func (*RoleController) Delete ¶
func (uh *RoleController) Delete(w http.ResponseWriter, r *http.Request)
func (*RoleController) GetMany ¶
func (uh *RoleController) GetMany(w http.ResponseWriter, r *http.Request)
func (*RoleController) GetOne ¶
func (uh *RoleController) GetOne(w http.ResponseWriter, r *http.Request)
func (*RoleController) Update ¶
func (uh *RoleController) Update(w http.ResponseWriter, r *http.Request)
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController( userService *service.UserService, roleService *service.RoleService, ) *UserController
func (*UserController) Create ¶
func (uh *UserController) Create(w http.ResponseWriter, r *http.Request)
func (*UserController) Delete ¶
func (uh *UserController) Delete(w http.ResponseWriter, r *http.Request)
func (*UserController) GetMany ¶
func (uh *UserController) GetMany(w http.ResponseWriter, r *http.Request)
func (*UserController) GetOne ¶
func (uh *UserController) GetOne(w http.ResponseWriter, r *http.Request)
func (*UserController) Update ¶
func (uh *UserController) Update(w http.ResponseWriter, r *http.Request)
func (*UserController) UpdatePassword ¶
func (uh *UserController) UpdatePassword(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.