Documentation
¶
Index ¶
- type AddRolePermissionHandler
- type AssignUserRoleHandler
- type CreatePermissionHandler
- type CreateRoleHandler
- type DeletePermissionHandler
- type DeleteRoleHandler
- type GetAllPermissionsHandler
- type GetAllRolesHandler
- type GetRoleByIDHandler
- type GetRolePermissionsHandler
- type GetUserEffectivePermissionsHandler
- type GetUserRolesHandler
- type RemoveRolePermissionHandler
- type RemoveUserRoleHandler
- type ReplaceRolePermissionsHandler
- type ReplaceUserRolesHandler
- type UpdatePermissionHandler
- type UpdateRoleHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRolePermissionHandler ¶
type AddRolePermissionHandler struct {
// contains filtered or unexported fields
}
func NewAddRolePermissionHandler ¶
func NewAddRolePermissionHandler(useCase usecases.RolePermissionUseCase) *AddRolePermissionHandler
func (*AddRolePermissionHandler) Handler ¶
func (h *AddRolePermissionHandler) Handler() http.HandlerFunc
type AssignUserRoleHandler ¶
type AssignUserRoleHandler struct {
// contains filtered or unexported fields
}
func NewAssignUserRoleHandler ¶
func NewAssignUserRoleHandler(useCase usecases.RolePermissionUseCase) *AssignUserRoleHandler
func (*AssignUserRoleHandler) Handler ¶
func (h *AssignUserRoleHandler) Handler() http.HandlerFunc
type CreatePermissionHandler ¶
type CreatePermissionHandler struct {
// contains filtered or unexported fields
}
func NewCreatePermissionHandler ¶
func NewCreatePermissionHandler(useCase usecases.RolePermissionUseCase) *CreatePermissionHandler
func (*CreatePermissionHandler) Handler ¶
func (h *CreatePermissionHandler) Handler() http.HandlerFunc
type CreateRoleHandler ¶
type CreateRoleHandler struct {
// contains filtered or unexported fields
}
func NewCreateRoleHandler ¶
func NewCreateRoleHandler(useCase usecases.RolePermissionUseCase) *CreateRoleHandler
func (*CreateRoleHandler) Handler ¶
func (h *CreateRoleHandler) Handler() http.HandlerFunc
type DeletePermissionHandler ¶
type DeletePermissionHandler struct {
// contains filtered or unexported fields
}
func NewDeletePermissionHandler ¶
func NewDeletePermissionHandler(useCase usecases.RolePermissionUseCase) *DeletePermissionHandler
func (*DeletePermissionHandler) Handler ¶
func (h *DeletePermissionHandler) Handler() http.HandlerFunc
type DeleteRoleHandler ¶
type DeleteRoleHandler struct {
// contains filtered or unexported fields
}
func NewDeleteRoleHandler ¶
func NewDeleteRoleHandler(useCase usecases.RolePermissionUseCase) *DeleteRoleHandler
func (*DeleteRoleHandler) Handler ¶
func (h *DeleteRoleHandler) Handler() http.HandlerFunc
type GetAllPermissionsHandler ¶
type GetAllPermissionsHandler struct {
// contains filtered or unexported fields
}
func NewGetAllPermissionsHandler ¶
func NewGetAllPermissionsHandler(useCase usecases.RolePermissionUseCase) *GetAllPermissionsHandler
func (*GetAllPermissionsHandler) Handler ¶
func (h *GetAllPermissionsHandler) Handler() http.HandlerFunc
type GetAllRolesHandler ¶
type GetAllRolesHandler struct {
// contains filtered or unexported fields
}
func NewGetAllRolesHandler ¶
func NewGetAllRolesHandler(useCase usecases.RolePermissionUseCase) *GetAllRolesHandler
func (*GetAllRolesHandler) Handler ¶
func (h *GetAllRolesHandler) Handler() http.HandlerFunc
type GetRoleByIDHandler ¶
type GetRoleByIDHandler struct {
// contains filtered or unexported fields
}
func NewGetRoleByIDHandler ¶
func NewGetRoleByIDHandler(useCase usecases.RolePermissionUseCase) *GetRoleByIDHandler
func (*GetRoleByIDHandler) Handler ¶
func (h *GetRoleByIDHandler) Handler() http.HandlerFunc
type GetRolePermissionsHandler ¶
type GetRolePermissionsHandler struct {
// contains filtered or unexported fields
}
func NewGetRolePermissionsHandler ¶
func NewGetRolePermissionsHandler(useCase usecases.RolePermissionUseCase) *GetRolePermissionsHandler
func (*GetRolePermissionsHandler) Handler ¶
func (h *GetRolePermissionsHandler) Handler() http.HandlerFunc
type GetUserEffectivePermissionsHandler ¶
type GetUserEffectivePermissionsHandler struct {
// contains filtered or unexported fields
}
func NewGetUserEffectivePermissionsHandler ¶
func NewGetUserEffectivePermissionsHandler(useCase usecases.UserRolesUseCase) *GetUserEffectivePermissionsHandler
func (*GetUserEffectivePermissionsHandler) Handler ¶
func (h *GetUserEffectivePermissionsHandler) Handler() http.HandlerFunc
type GetUserRolesHandler ¶
type GetUserRolesHandler struct {
// contains filtered or unexported fields
}
func NewGetUserRolesHandler ¶
func NewGetUserRolesHandler(useCase usecases.UserRolesUseCase) *GetUserRolesHandler
func (*GetUserRolesHandler) Handler ¶
func (h *GetUserRolesHandler) Handler() http.HandlerFunc
type RemoveRolePermissionHandler ¶
type RemoveRolePermissionHandler struct {
// contains filtered or unexported fields
}
func NewRemoveRolePermissionHandler ¶
func NewRemoveRolePermissionHandler(useCase usecases.RolePermissionUseCase) *RemoveRolePermissionHandler
func (*RemoveRolePermissionHandler) Handler ¶
func (h *RemoveRolePermissionHandler) Handler() http.HandlerFunc
type RemoveUserRoleHandler ¶
type RemoveUserRoleHandler struct {
// contains filtered or unexported fields
}
func NewRemoveUserRoleHandler ¶
func NewRemoveUserRoleHandler(useCase usecases.RolePermissionUseCase) *RemoveUserRoleHandler
func (*RemoveUserRoleHandler) Handler ¶
func (h *RemoveUserRoleHandler) Handler() http.HandlerFunc
type ReplaceRolePermissionsHandler ¶
type ReplaceRolePermissionsHandler struct {
// contains filtered or unexported fields
}
func NewReplaceRolePermissionsHandler ¶
func NewReplaceRolePermissionsHandler(useCase usecases.RolePermissionUseCase) *ReplaceRolePermissionsHandler
func (*ReplaceRolePermissionsHandler) Handler ¶
func (h *ReplaceRolePermissionsHandler) Handler() http.HandlerFunc
type ReplaceUserRolesHandler ¶
type ReplaceUserRolesHandler struct {
// contains filtered or unexported fields
}
func NewReplaceUserRolesHandler ¶
func NewReplaceUserRolesHandler(useCase usecases.RolePermissionUseCase) *ReplaceUserRolesHandler
func (*ReplaceUserRolesHandler) Handler ¶
func (h *ReplaceUserRolesHandler) Handler() http.HandlerFunc
type UpdatePermissionHandler ¶
type UpdatePermissionHandler struct {
// contains filtered or unexported fields
}
func NewUpdatePermissionHandler ¶
func NewUpdatePermissionHandler(useCase usecases.RolePermissionUseCase) *UpdatePermissionHandler
func (*UpdatePermissionHandler) Handler ¶
func (h *UpdatePermissionHandler) Handler() http.HandlerFunc
type UpdateRoleHandler ¶
type UpdateRoleHandler struct {
// contains filtered or unexported fields
}
func NewUpdateRoleHandler ¶
func NewUpdateRoleHandler(useCase usecases.RolePermissionUseCase) *UpdateRoleHandler
func (*UpdateRoleHandler) Handler ¶
func (h *UpdateRoleHandler) Handler() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.