admin

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 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 added in v1.3.2

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

AddDisplayFilterLimit call types.AddDisplayFilterLimit

func (*Admin) AddDisplayFilterSubstr added in v1.3.2

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

AddDisplayFilterSubstr call types.AddDisplayFilterSubstr

func (*Admin) AddDisplayFilterToLower added in v1.3.2

func (admin *Admin) AddDisplayFilterToLower() *Admin

AddDisplayFilterToLower call types.AddDisplayFilterToLower

func (*Admin) AddDisplayFilterToTitle added in v1.3.2

func (admin *Admin) AddDisplayFilterToTitle() *Admin

AddDisplayFilterToTitle call types.AddDisplayFilterToTitle

func (*Admin) AddDisplayFilterToUpper added in v1.3.2

func (admin *Admin) AddDisplayFilterToUpper() *Admin

AddDisplayFilterToUpper call types.AddDisplayFilterToUpper

func (*Admin) AddDisplayFilterTrimSpace added in v1.3.2

func (admin *Admin) AddDisplayFilterTrimSpace() *Admin

AddDisplayFilterTrimSpace call types.AddDisplayFilterTrimSpace

func (*Admin) AddDisplayFilterXssFilter added in v1.3.2

func (admin *Admin) AddDisplayFilterXssFilter() *Admin

AddDisplayFilterXssFilter call types.AddDisplayFilterXssFilter

func (*Admin) AddDisplayFilterXssJsFilter added in v1.3.2

func (admin *Admin) AddDisplayFilterXssJsFilter() *Admin

AddDisplayFilterXssJsFilter call types.AddDisplayFilterXssJsFilter

func (*Admin) AddGenerator added in v1.3.2

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

AddGenerator add table model generator.

func (*Admin) AddGenerators added in v1.3.2

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

AddGenerators add table model generators.

func (*Admin) AddGlobalDisplayProcessFn added in v1.3.2

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

AddGlobalDisplayProcessFn call types.AddGlobalDisplayProcessFn

func (*Admin) GetAddOperationFn added in v1.3.2

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

func (*Admin) GetIndexURL added in v1.3.2

func (admin *Admin) GetIndexURL() string

func (*Admin) GetInfo added in v1.3.2

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 added in v1.3.2

func (admin *Admin) IsInstalled() bool

func (*Admin) SetCaptcha added in v1.3.2

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