kk_rbac_swagger

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

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

func InitSwagger

func InitSwagger(r *gin.Engine, port int, debugMode bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL