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 ¶
AddDisplayFilterLimit call types.AddDisplayFilterLimit
func (*Admin) AddDisplayFilterSubstr ¶
AddDisplayFilterSubstr call types.AddDisplayFilterSubstr
func (*Admin) AddDisplayFilterToLower ¶
AddDisplayFilterToLower call types.AddDisplayFilterToLower
func (*Admin) AddDisplayFilterToTitle ¶
AddDisplayFilterToTitle call types.AddDisplayFilterToTitle
func (*Admin) AddDisplayFilterToUpper ¶
AddDisplayFilterToUpper call types.AddDisplayFilterToUpper
func (*Admin) AddDisplayFilterTrimSpace ¶
AddDisplayFilterTrimSpace call types.AddDisplayFilterTrimSpace
func (*Admin) AddDisplayFilterXssFilter ¶
AddDisplayFilterXssFilter call types.AddDisplayFilterXssFilter
func (*Admin) AddDisplayFilterXssJsFilter ¶
AddDisplayFilterXssJsFilter call types.AddDisplayFilterXssJsFilter
func (*Admin) AddGenerator ¶
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) InitPlugin ¶
InitPlugin implements Plugin.InitPlugin. TODO: find a better way to manage the dependencies