admin

package
v1.2.24 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

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

Admin is a GoAdmin plugin.

func NewAdmin

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

NewAdmin return the global Admin plugin.

func (*Admin) AddDisplayFilterLimit

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

AddDisplayFilterLimit call types.AddDisplayFilterLimit

func (*Admin) AddDisplayFilterSubstr

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

AddDisplayFilterSubstr call types.AddDisplayFilterSubstr

func (*Admin) AddDisplayFilterToLower

func (admin *Admin) AddDisplayFilterToLower() *Admin

AddDisplayFilterToLower call types.AddDisplayFilterToLower

func (*Admin) AddDisplayFilterToTitle

func (admin *Admin) AddDisplayFilterToTitle() *Admin

AddDisplayFilterToTitle call types.AddDisplayFilterToTitle

func (*Admin) AddDisplayFilterToUpper

func (admin *Admin) AddDisplayFilterToUpper() *Admin

AddDisplayFilterToUpper call types.AddDisplayFilterToUpper

func (*Admin) AddDisplayFilterTrimSpace

func (admin *Admin) AddDisplayFilterTrimSpace() *Admin

AddDisplayFilterTrimSpace call types.AddDisplayFilterTrimSpace

func (*Admin) AddDisplayFilterXssFilter

func (admin *Admin) AddDisplayFilterXssFilter() *Admin

AddDisplayFilterXssFilter call types.AddDisplayFilterXssFilter

func (*Admin) AddDisplayFilterXssJsFilter

func (admin *Admin) AddDisplayFilterXssJsFilter() *Admin

AddDisplayFilterXssJsFilter call types.AddDisplayFilterXssJsFilter

func (*Admin) AddGenerator

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

AddGenerator add table model generator.

func (*Admin) AddGenerators

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

AddGenerators add table model generators.

func (*Admin) AddGlobalDisplayProcessFn

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

AddGlobalDisplayProcessFn call types.AddGlobalDisplayProcessFn

func (*Admin) GetAddOperationFn

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

func (*Admin) GetIndexURL

func (admin *Admin) GetIndexURL() string

func (*Admin) GetInfo

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

func (*Admin) InitPlugin

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

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

func (*Admin) IsInstalled

func (admin *Admin) IsInstalled() bool

func (*Admin) SetCaptcha

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

SetCaptcha set captcha driver.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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