Documentation ¶
Index ¶
- type Config
- type Handler
- func (h *Handler) AddNavButton(btns *types.Buttons)
- func (h *Handler) ApiCreate(ctx *context.Context)
- func (h *Handler) ApiCreateForm(ctx *context.Context)
- func (h *Handler) ApiDetail(ctx *context.Context)
- func (h *Handler) ApiList(ctx *context.Context)
- func (h *Handler) ApiUpdate(ctx *context.Context)
- func (h *Handler) ApiUpdateForm(ctx *context.Context)
- func (h *Handler) Assets(ctx *context.Context)
- func (h *Handler) Auth(ctx *context.Context)
- func (h *Handler) CheckDatabase(ctx *context.Context)
- func (h *Handler) Delete(ctx *context.Context)
- func (h *Handler) DeleteMenu(ctx *context.Context)
- func (h *Handler) EditForm(ctx *context.Context)
- func (h *Handler) EditMenu(ctx *context.Context)
- func (h *Handler) Execute(ctx *context.Context, user models.UserModel, panel types.Panel, ...) *bytes.Buffer
- func (h *Handler) Export(ctx *context.Context)
- func (h *Handler) GlobalDeferHandler(ctx *context.Context)
- func (h *Handler) HTML(ctx *context.Context, user models.UserModel, panel types.Panel, ...)
- func (h *Handler) Logout(ctx *context.Context)
- func (h *Handler) MenuOrder(ctx *context.Context)
- func (h *Handler) NewForm(ctx *context.Context)
- func (h *Handler) NewMenu(ctx *context.Context)
- func (h *Handler) Operation(ctx *context.Context)
- func (h *Handler) OperationHandler(path string, ctx *context.Context) bool
- func (h *Handler) RecordOperationLog(ctx *context.Context)
- func (h *Handler) SetCaptcha(cap map[string]string)
- func (h *Handler) SetRoutes(r context.RouterMap)
- func (h *Handler) ShowDetail(ctx *context.Context)
- func (h *Handler) ShowEditMenu(ctx *context.Context)
- func (h *Handler) ShowForm(ctx *context.Context)
- func (h *Handler) ShowInfo(ctx *context.Context)
- func (h *Handler) ShowInstall(ctx *context.Context)
- func (h *Handler) ShowLogin(ctx *context.Context)
- func (h *Handler) ShowMenu(ctx *context.Context)
- func (h *Handler) ShowNewForm(ctx *context.Context)
- func (h *Handler) ShowNewMenu(ctx *context.Context)
- func (h *Handler) SystemInfo(ctx *context.Context)
- func (h *Handler) Update(ctx *context.Context)
- func (h *Handler) UpdateCfg(cfg Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Config *c.Config Services service.List Connection db.Connection Generators table.GeneratorList }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) AddNavButton ¶
func (*Handler) ApiCreateForm ¶
func (*Handler) ApiUpdateForm ¶
func (*Handler) CheckDatabase ¶
CheckDatabase check the database connection.
func (*Handler) DeleteMenu ¶
DeleteMenu delete the menu of given id.
func (*Handler) GlobalDeferHandler ¶
GlobalDeferHandler is a global error handler of admin plugin.
func (*Handler) OperationHandler ¶
func (*Handler) RecordOperationLog ¶
RecordOperationLog record all operation logs, store into database.
func (*Handler) SetCaptcha ¶
func (*Handler) ShowDetail ¶
func (*Handler) ShowEditMenu ¶
ShowEditMenu show edit menu page.
func (*Handler) ShowInstall ¶
ShowInstall show install page.
func (*Handler) ShowNewForm ¶
ShowNewForm show a new form page.
func (*Handler) ShowNewMenu ¶
ShowNewMenu show new menu page.
func (*Handler) SystemInfo ¶
Click to show internal directories.
Click to hide internal directories.