Documentation ¶
Index ¶
- type Config
- type Handler
- 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) Export(ctx *context.Context)
- func (h *Handler) GlobalDeferHandler(ctx *context.Context)
- 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) 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) Update(ctx *context.Context)
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 ¶ added in v1.2.5
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Auth ¶ added in v1.2.5
Auth check the input password and username for authentication.
func (*Handler) CheckDatabase ¶ added in v1.2.5
CheckDatabase check the database connection.
func (*Handler) DeleteMenu ¶ added in v1.2.5
DeleteMenu delete the menu of given id.
func (*Handler) GlobalDeferHandler ¶ added in v1.2.5
GlobalDeferHandler is a global error handler of admin plugin.
func (*Handler) RecordOperationLog ¶ added in v1.2.5
RecordOperationLog record all operation logs, store into database.
func (*Handler) SetCaptcha ¶ added in v1.2.5
func (*Handler) ShowDetail ¶ added in v1.2.5
func (*Handler) ShowEditMenu ¶ added in v1.2.5
ShowEditMenu show edit menu page.
func (*Handler) ShowInstall ¶ added in v1.2.5
ShowInstall show install page.
func (*Handler) ShowNewForm ¶ added in v1.2.5
ShowNewForm show a new form page.
func (*Handler) ShowNewMenu ¶ added in v1.2.5
ShowNewMenu show new menu page.
Click to show internal directories.
Click to hide internal directories.