go-admin: github.com/GoAdminGroup/go-admin/plugins/admin Index | Files | Directories

package admin

import "github.com/GoAdminGroup/go-admin/plugins/admin"

Index

Package Files

admin.go router.go

type Admin Uses

type Admin struct {
    *plugins.Base
    // contains filtered or unexported fields
}

Admin is a GoAdmin plugin.

func NewAdmin Uses

func NewAdmin(tableCfg ...table.GeneratorList) *Admin

NewAdmin return the global Admin plugin.

func (*Admin) AddDisplayFilterLimit Uses

func (admin *Admin) AddDisplayFilterLimit(limit int) *Admin

AddDisplayFilterLimit call types.AddDisplayFilterLimit

func (*Admin) AddDisplayFilterSubstr Uses

func (admin *Admin) AddDisplayFilterSubstr(start int, end int) *Admin

AddDisplayFilterSubstr call types.AddDisplayFilterSubstr

func (*Admin) AddDisplayFilterToLower Uses

func (admin *Admin) AddDisplayFilterToLower() *Admin

AddDisplayFilterToLower call types.AddDisplayFilterToLower

func (*Admin) AddDisplayFilterToTitle Uses

func (admin *Admin) AddDisplayFilterToTitle() *Admin

AddDisplayFilterToTitle call types.AddDisplayFilterToTitle

func (*Admin) AddDisplayFilterToUpper Uses

func (admin *Admin) AddDisplayFilterToUpper() *Admin

AddDisplayFilterToUpper call types.AddDisplayFilterToUpper

func (*Admin) AddDisplayFilterTrimSpace Uses

func (admin *Admin) AddDisplayFilterTrimSpace() *Admin

AddDisplayFilterTrimSpace call types.AddDisplayFilterTrimSpace

func (*Admin) AddDisplayFilterXssFilter Uses

func (admin *Admin) AddDisplayFilterXssFilter() *Admin

AddDisplayFilterXssFilter call types.AddDisplayFilterXssFilter

func (*Admin) AddDisplayFilterXssJsFilter Uses

func (admin *Admin) AddDisplayFilterXssJsFilter() *Admin

AddDisplayFilterXssJsFilter call types.AddDisplayFilterXssJsFilter

func (*Admin) AddGenerator Uses

func (admin *Admin) AddGenerator(key string, g table.Generator) *Admin

AddGenerator add table model generator.

func (*Admin) AddGenerators Uses

func (admin *Admin) AddGenerators(gen ...table.GeneratorList) *Admin

AddGenerators add table model generators.

func (*Admin) AddGlobalDisplayProcessFn Uses

func (admin *Admin) AddGlobalDisplayProcessFn(f types.FieldFilterFn) *Admin

AddGlobalDisplayProcessFn call types.AddGlobalDisplayProcessFn

func (*Admin) GetAddOperationFn Uses

func (admin *Admin) GetAddOperationFn() context.NodeProcessor

func (*Admin) GetInfo Uses

func (admin *Admin) GetInfo() plugins.Info

func (*Admin) InitPlugin Uses

func (admin *Admin) InitPlugin(services service.List)

InitPlugin implements Plugin.InitPlugin. TODO: find a better way to manage the dependencies

func (*Admin) IsInstalled Uses

func (admin *Admin) IsInstalled() bool

func (*Admin) SetCaptcha Uses

func (admin *Admin) SetCaptcha(captcha map[string]string) *Admin

SetCaptcha set captcha driver.

Directories

PathSynopsis
controller
models
modules
modules/captcha
modules/constant
modules/form
modules/guard
modules/paginator
modules/parameter
modules/response
modules/table
modules/tools

Package admin imports 15 packages (graph) and is imported by 26 packages. Updated 2020-07-03. Refresh now. Tools for package owners.