controller

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Assert

func Assert(ctx *context.Context)

func Auth

func Auth(ctx *context.Context)

func CheckDatabase

func CheckDatabase(ctx *context.Context)

func DeleteData

func DeleteData(ctx *context.Context)

func DeleteMenu

func DeleteMenu(ctx *context.Context)

删除菜单

func EditForm

func EditForm(ctx *context.Context)

编辑数据

func EditManager

func EditManager(dataList map[string][]string)

func EditMenu

func EditMenu(ctx *context.Context)

编辑菜单

func EditRole

func EditRole(dataList map[string][]string)

func GetMenuInfoPanel

func GetMenuInfoPanel(ctx *context.Context)

func GlobalDeferHandler

func GlobalDeferHandler(ctx *context.Context)

全局错误处理

func Logout

func Logout(ctx *context.Context)
func MenuOrder(ctx *context.Context)

修改菜单顺序

func NewForm

func NewForm(ctx *context.Context)

新建数据

func NewManager

func NewManager(dataList map[string][]string)

func NewMenu

func NewMenu(ctx *context.Context)

新建菜单

func NewRole

func NewRole(dataList map[string][]string)

func RecordOperationLog

func RecordOperationLog(ctx *context.Context)

func SetConfig

func SetConfig(cfg config.Config)

func ShowDashboard

func ShowDashboard(ctx *context.Context)

func ShowEditMenu

func ShowEditMenu(ctx *context.Context)

显示编辑菜单

func ShowErrorPage

func ShowErrorPage(ctx *context.Context, errorMsg string)

func ShowForm

func ShowForm(ctx *context.Context)

显示表单

func ShowInfo

func ShowInfo(ctx *context.Context)

显示列表

func ShowInstall

func ShowInstall(ctx *context.Context)

func ShowLogin

func ShowLogin(ctx *context.Context)

func ShowMenu

func ShowMenu(ctx *context.Context)

显示菜单

func ShowNewForm

func ShowNewForm(ctx *context.Context)

显示新建表单

Types

This section is empty.

Jump to

Keyboard shortcuts

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