Documentation ¶
Index ¶
- func Delete(conn db.Connection) context.Handler
- func EditForm(srv service.List) context.Handler
- func Export(conn db.Connection) context.Handler
- func MenuDelete(conn db.Connection) context.Handler
- func MenuEdit(srv service.List) context.Handler
- func MenuNew(srv service.List) context.Handler
- func NewForm(srv service.List) context.Handler
- func ShowForm(conn db.Connection) context.Handler
- func ShowNewForm(conn db.Connection) context.Handler
- func Update(ctx *context.Context)
- type DeleteParam
- type EditFormParam
- func (e EditFormParam) GetDeleteUrl() string
- func (e EditFormParam) GetDetailUrl() string
- func (e EditFormParam) GetEditUrl() string
- func (e EditFormParam) GetExportUrl() string
- func (e *EditFormParam) GetInfoUrl() string
- func (e EditFormParam) GetNewUrl() string
- func (e EditFormParam) GetUpdateUrl() string
- func (e *EditFormParam) GetUrl() string
- func (e EditFormParam) HasAlert() bool
- func (e EditFormParam) IsManage() bool
- func (e EditFormParam) IsRole() bool
- func (e EditFormParam) Value() form.Values
- type ExportParam
- type MenuDeleteParam
- type MenuEditParam
- type MenuNewParam
- type NewFormParam
- func (e NewFormParam) GetDeleteUrl() string
- func (e *NewFormParam) GetDetailUrl() string
- func (e NewFormParam) GetEditUrl() string
- func (e NewFormParam) GetExportUrl() string
- func (e *NewFormParam) GetInfoUrl() string
- func (e NewFormParam) GetNewUrl() string
- func (e NewFormParam) GetUpdateUrl() string
- func (e *NewFormParam) GetUrl() string
- func (e NewFormParam) HasAlert() bool
- func (e NewFormParam) IsManage() bool
- func (e NewFormParam) IsRole() bool
- func (e NewFormParam) Value() form.Values
- type ShowFormParam
- type ShowNewFormParam
- type UpdateParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MenuDelete ¶
func MenuDelete(conn db.Connection) context.Handler
func ShowNewForm ¶
func ShowNewForm(conn db.Connection) context.Handler
Types ¶
type DeleteParam ¶
func GetDeleteParam ¶
func GetDeleteParam(ctx *context.Context) *DeleteParam
type EditFormParam ¶
type EditFormParam struct { Panel table.Table Id string Prefix string Param parameter.Parameters Path string MultiForm *multipart.Form PreviousPath string Alert template2.HTML FromList bool }
func GetEditFormParam ¶
func GetEditFormParam(ctx *context.Context) *EditFormParam
func (EditFormParam) GetDeleteUrl ¶
func (e EditFormParam) GetDeleteUrl() string
func (EditFormParam) GetDetailUrl ¶ added in v1.1.6
func (e EditFormParam) GetDetailUrl() string
func (EditFormParam) GetEditUrl ¶
func (e EditFormParam) GetEditUrl() string
func (EditFormParam) GetExportUrl ¶
func (e EditFormParam) GetExportUrl() string
func (*EditFormParam) GetInfoUrl ¶
func (e *EditFormParam) GetInfoUrl() string
func (EditFormParam) GetNewUrl ¶
func (e EditFormParam) GetNewUrl() string
func (EditFormParam) GetUpdateUrl ¶ added in v1.0.8
func (e EditFormParam) GetUpdateUrl() string
func (*EditFormParam) GetUrl ¶
func (e *EditFormParam) GetUrl() string
func (EditFormParam) HasAlert ¶
func (e EditFormParam) HasAlert() bool
func (EditFormParam) IsManage ¶
func (e EditFormParam) IsManage() bool
func (EditFormParam) IsRole ¶
func (e EditFormParam) IsRole() bool
func (EditFormParam) Value ¶
func (e EditFormParam) Value() form.Values
type ExportParam ¶
func GetExportParam ¶
func GetExportParam(ctx *context.Context) *ExportParam
type MenuDeleteParam ¶
type MenuDeleteParam struct {
Id string
}
func GetMenuDeleteParam ¶
func GetMenuDeleteParam(ctx *context.Context) *MenuDeleteParam
type MenuEditParam ¶
type MenuEditParam struct { Id string Title string Header string ParentId int64 Icon string Uri string Roles []string Alert template.HTML }
func GetMenuEditParam ¶
func GetMenuEditParam(ctx *context.Context) *MenuEditParam
func (MenuEditParam) HasAlert ¶
func (e MenuEditParam) HasAlert() bool
type MenuNewParam ¶
type MenuNewParam struct { Title string Header string ParentId int64 Icon string Uri string Roles []string Alert template.HTML }
func GetMenuNewParam ¶
func GetMenuNewParam(ctx *context.Context) *MenuNewParam
func (MenuNewParam) HasAlert ¶
func (e MenuNewParam) HasAlert() bool
type NewFormParam ¶
type NewFormParam struct { Panel table.Table Id string Prefix string Param parameter.Parameters Path string MultiForm *multipart.Form PreviousPath string FromList bool Alert template.HTML }
func GetNewFormParam ¶
func GetNewFormParam(ctx *context.Context) *NewFormParam
func (NewFormParam) GetDeleteUrl ¶
func (e NewFormParam) GetDeleteUrl() string
func (*NewFormParam) GetDetailUrl ¶ added in v1.1.6
func (e *NewFormParam) GetDetailUrl() string
func (NewFormParam) GetEditUrl ¶
func (e NewFormParam) GetEditUrl() string
func (NewFormParam) GetExportUrl ¶
func (e NewFormParam) GetExportUrl() string
func (*NewFormParam) GetInfoUrl ¶
func (e *NewFormParam) GetInfoUrl() string
func (NewFormParam) GetNewUrl ¶
func (e NewFormParam) GetNewUrl() string
func (NewFormParam) GetUpdateUrl ¶ added in v1.0.8
func (e NewFormParam) GetUpdateUrl() string
func (*NewFormParam) GetUrl ¶
func (e *NewFormParam) GetUrl() string
func (NewFormParam) HasAlert ¶
func (e NewFormParam) HasAlert() bool
func (NewFormParam) IsManage ¶
func (e NewFormParam) IsManage() bool
func (NewFormParam) IsRole ¶
func (e NewFormParam) IsRole() bool
func (NewFormParam) Value ¶
func (e NewFormParam) Value() form.Values
type ShowFormParam ¶
func GetShowFormParam ¶
func GetShowFormParam(ctx *context.Context) *ShowFormParam
func (*ShowFormParam) GetInfoUrl ¶
func (e *ShowFormParam) GetInfoUrl() string
func (*ShowFormParam) GetUrl ¶
func (e *ShowFormParam) GetUrl() string
type ShowNewFormParam ¶
type ShowNewFormParam struct { Panel table.Table Prefix string Param parameter.Parameters }
func GetShowNewFormParam ¶
func GetShowNewFormParam(ctx *context.Context) *ShowNewFormParam
func (*ShowNewFormParam) GetInfoUrl ¶
func (e *ShowNewFormParam) GetInfoUrl() string
func (*ShowNewFormParam) GetUrl ¶
func (e *ShowNewFormParam) GetUrl() string
type UpdateParam ¶ added in v1.0.8
func GetUpdateParam ¶ added in v1.0.8
func GetUpdateParam(ctx *context.Context) *UpdateParam
Click to show internal directories.
Click to hide internal directories.