Guard

type Guard func(ctrl *DynamicController, ctx *Ctx) bool
type AppGuard func(module *DynamicModule, ctx Ctx) boolDefine guard and use in controller
Define guard and use in module
Last updated