Documentation ¶
Index ¶
- type DeleteParam
- type EditFormParam
- type ExportParam
- type Guard
- func (g *Guard) CheckPrefix(ctx *context.Context)
- func (g *Guard) Delete(ctx *context.Context)
- func (g *Guard) EditForm(ctx *context.Context)
- func (g *Guard) Export(ctx *context.Context)
- func (g *Guard) MenuDelete(ctx *context.Context)
- func (g *Guard) MenuEdit(ctx *context.Context)
- func (g *Guard) MenuNew(ctx *context.Context)
- func (g *Guard) NewForm(ctx *context.Context)
- func (g *Guard) ShowForm(ctx *context.Context)
- func (g *Guard) ShowNewForm(ctx *context.Context)
- func (g *Guard) Update(ctx *context.Context)
- type MenuDeleteParam
- type MenuEditParam
- type MenuNewParam
- type NewFormParam
- type ShowFormParam
- type ShowNewFormParam
- type UpdateParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 tmpl.HTML FromList bool IsIframe bool IframeID string }
func GetEditFormParam ¶
func GetEditFormParam(ctx *context.Context) *EditFormParam
func (EditFormParam) Value ¶
func (e EditFormParam) Value() form.Values
type ExportParam ¶
func GetExportParam ¶
func GetExportParam(ctx *context.Context) *ExportParam
type Guard ¶
type Guard struct {
// contains filtered or unexported fields
}
func New ¶
func New(s service.List, c db.Connection, t table.GeneratorList, b *types.Buttons) *Guard
func (*Guard) CheckPrefix ¶
func (*Guard) MenuDelete ¶
func (*Guard) ShowNewForm ¶
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 IsIframe bool IframeID string Alert template.HTML }
func GetNewFormParam ¶
func GetNewFormParam(ctx *context.Context) *NewFormParam
func (NewFormParam) Value ¶
func (e NewFormParam) Value() form.Values
type ShowFormParam ¶
func GetShowFormParam ¶
func GetShowFormParam(ctx *context.Context) *ShowFormParam
type ShowNewFormParam ¶
type ShowNewFormParam struct { Panel table.Table Prefix string Param parameter.Parameters }
func GetShowNewFormParam ¶
func GetShowNewFormParam(ctx *context.Context) *ShowNewFormParam
type UpdateParam ¶
func GetUpdateParam ¶
func GetUpdateParam(ctx *context.Context) *UpdateParam
Click to show internal directories.
Click to hide internal directories.