Documentation ¶
Index ¶
- type Admin
- func (admin *Admin) AddDisplayFilterLimit(limit int) *Admin
- func (admin *Admin) AddDisplayFilterSubstr(start int, end int) *Admin
- func (admin *Admin) AddDisplayFilterToLower() *Admin
- func (admin *Admin) AddDisplayFilterToTitle() *Admin
- func (admin *Admin) AddDisplayFilterToUpper() *Admin
- func (admin *Admin) AddDisplayFilterTrimSpace() *Admin
- func (admin *Admin) AddDisplayFilterXssFilter() *Admin
- func (admin *Admin) AddDisplayFilterXssJsFilter() *Admin
- func (admin *Admin) AddGenerator(key string, g table.Generator) *Admin
- func (admin *Admin) AddGenerators(gen ...table.GeneratorList) *Admin
- func (admin *Admin) AddGlobalDisplayProcessFn(f types.FieldFilterFn) *Admin
- func (admin *Admin) GetAddOperationFn() context.NodeProcessor
- func (admin *Admin) GetIndexURL() string
- func (admin *Admin) GetInfo() plugins.Info
- func (admin *Admin) InitPlugin(services service.List)
- func (admin *Admin) IsInstalled() bool
- func (admin *Admin) SetCaptcha(captcha map[string]string) *Admin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
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.0
AddDisplayFilterLimit call types.AddDisplayFilterLimit
func (*Admin) AddDisplayFilterSubstr ¶ added in v1.3.0
AddDisplayFilterSubstr call types.AddDisplayFilterSubstr
func (*Admin) AddDisplayFilterToLower ¶ added in v1.3.0
AddDisplayFilterToLower call types.AddDisplayFilterToLower
func (*Admin) AddDisplayFilterToTitle ¶ added in v1.3.0
AddDisplayFilterToTitle call types.AddDisplayFilterToTitle
func (*Admin) AddDisplayFilterToUpper ¶ added in v1.3.0
AddDisplayFilterToUpper call types.AddDisplayFilterToUpper
func (*Admin) AddDisplayFilterTrimSpace ¶ added in v1.3.0
AddDisplayFilterTrimSpace call types.AddDisplayFilterTrimSpace
func (*Admin) AddDisplayFilterXssFilter ¶ added in v1.3.0
AddDisplayFilterXssFilter call types.AddDisplayFilterXssFilter
func (*Admin) AddDisplayFilterXssJsFilter ¶ added in v1.3.0
AddDisplayFilterXssJsFilter call types.AddDisplayFilterXssJsFilter
func (*Admin) AddGenerator ¶ added in v1.3.0
AddGenerator add table model generator.
func (*Admin) AddGenerators ¶ added in v1.3.0
func (admin *Admin) AddGenerators(gen ...table.GeneratorList) *Admin
AddGenerators add table model generators.
func (*Admin) AddGlobalDisplayProcessFn ¶ added in v1.3.0
func (admin *Admin) AddGlobalDisplayProcessFn(f types.FieldFilterFn) *Admin
AddGlobalDisplayProcessFn call types.AddGlobalDisplayProcessFn
func (*Admin) GetAddOperationFn ¶ added in v1.3.0
func (admin *Admin) GetAddOperationFn() context.NodeProcessor
func (*Admin) GetIndexURL ¶ added in v1.3.0
func (*Admin) InitPlugin ¶
InitPlugin implements Plugin.InitPlugin. TODO: find a better way to manage the dependencies