Documentation ¶
Overview ¶
Package kk_rbac_swagger Code generated by swaggo/swag. DO NOT EDIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SwaggerInfokk_rbac_swagger = &swag.Spec{ Version: "1.0", Host: "localhost:port", BasePath: "/", Schemes: []string{}, Title: "kk_rbac", Description: "a complete rbac system.", InfoInstanceName: "kk_rbac_swagger", SwaggerTemplate: docTemplatekk_rbac_swagger, LeftDelim: "{{", RightDelim: "}}", }
SwaggerInfokk_rbac_swagger holds exported Swagger Info so clients can modify it
Functions ¶
func GetPermissions ¶
func GetPermissions() (perms []*kk_rbac_models.Permission)
GetPermissions use kk_rbac.RBAC.AddPermission to add permission to db
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.