Documentation
¶
Index ¶
- Variables
- func AppAuth(c *xin.Context)
- func IPProtect(c *xin.Context)
- func Init()
- func Reload()
- func RoleAdminProtect(c *xin.Context)
- func RoleCustomProtector(s string) xin.HandlerFunc
- func RoleDevelProtect(c *xin.Context)
- func RoleEditorProtect(c *xin.Context)
- func RoleProtect(c *xin.Context, role string)
- func RoleRootProtect(c *xin.Context)
- func RoleSuperProtect(c *xin.Context)
- func RoleViewerProtect(c *xin.Context)
- func Run()
- func SAMLProtect(c *xin.Context)
- func SetCtxLogProp(c *xin.Context)
- func Shutdown()
- func TenantProtect(c *xin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var SRV = &service{}
SRV service instance
Functions ¶
func RoleAdminProtect ¶
func RoleCustomProtector ¶
func RoleCustomProtector(s string) xin.HandlerFunc
func RoleDevelProtect ¶
func RoleEditorProtect ¶
func RoleProtect ¶
func RoleRootProtect ¶
func RoleSuperProtect ¶
func RoleViewerProtect ¶
func SAMLProtect ¶
func SetCtxLogProp ¶
func TenantProtect ¶
TenantProtect only allow access for known tenant
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.