controller

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: MIT Imports: 25 Imported by: 0

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 GetRouteParameterString

func GetRouteParameterString(page, pageSize, sortType, sortField string) string

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