adman

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

adman

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAdman added in v0.0.2

func InitAdman[T primary.Key]() aurora.Option

InitAdman 初始化配置项

func MapperInfo added in v0.0.2

func MapperInfo[T primary.Key]() (root string, fs embed.FS, ms []any)

MapperInfo 导出 adman 的 mapper文件 和文件根路径 以及 对应的 mapper 结构体 T 系统用户主键类型

func NewAdman

func NewAdman[T primary.Key]() web.Constructor

Types

type Adman

type Adman[T primary.Key] struct {
	*aurora.Engine
	User          *user.Control[T]
	MenuManage    *configuration.MenuManagement[T]
	OrgManage     *configuration.OrgManagement[T]
	RoleManage    *configuration.RoleManagement[T]
	AccountManage *configuration.AccountManagement[T]
	FuncManage    *configuration.FuncManagement[T]
	ToolManage    *configuration.ToolManagement[T]
}

Adman T 系统主键类型

func (*Adman[T]) Router

func (admin *Adman[T]) Router()

Directories

Path Synopsis
api
utils

Jump to

Keyboard shortcuts

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