Documentation ¶
Index ¶
- func InfoCreateModule(logger mrcore.Logger, name string)
- func InfoCreateUnit(logger mrcore.Logger, name string)
- func NewAppSection(opt mrperms.AppSectionOptions, access mrcore.AccessControl, ...) *mrperms.AppSection
- func WithMiddlewareCheckAccess(list []mrserver.HttpController, section mrcore.AppSection, ...) []mrserver.HttpController
- func WithPermission(list []mrserver.HttpController, permission string) []mrserver.HttpController
- type ControllerHandlers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfoCreateModule ¶
func InfoCreateUnit ¶
func NewAppSection ¶
func NewAppSection(opt mrperms.AppSectionOptions, access mrcore.AccessControl, logger mrcore.Logger) *mrperms.AppSection
func WithMiddlewareCheckAccess ¶
func WithMiddlewareCheckAccess( list []mrserver.HttpController, section mrcore.AppSection, access mrcore.AccessControl, ) []mrserver.HttpController
func WithPermission ¶
func WithPermission(list []mrserver.HttpController, permission string) []mrserver.HttpController
Types ¶
type ControllerHandlers ¶
type ControllerHandlers []mrserver.HttpHandler
func (ControllerHandlers) Handlers ¶
func (c ControllerHandlers) Handlers() []mrserver.HttpHandler
Click to show internal directories.
Click to hide internal directories.