ginrbac

package module
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 7 Imported by: 0

README

goadmin

Documentation

Index

Constants

View Source
const (
	AdminUserId = app.AdminUserId
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Rbac

type Rbac struct {
	Middleware *_middleware
	Router     *_router
	Permission *_permission
}

func NewRbac

func NewRbac(db *gorm.DB, rbacFile string) (a *Rbac, err error)

NewRbac rbacFile rbac_model.conf

Directories

Path Synopsis
internal
app

Jump to

Keyboard shortcuts

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