Documentation ¶
Index ¶
- func Content(handler HandlerFunc) ghttp.HandlerFunc
- type Gf
- func (gf *Gf) AddHandler(method, path string, handlers context.Handlers)
- func (gf *Gf) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, ...)
- func (gf *Gf) DisableLog()
- func (gf *Gf) FormParam() url.Values
- func (gf *Gf) GetCookie() (string, error)
- func (gf *Gf) IsPjax() bool
- func (gf *Gf) Lang() string
- func (gf *Gf) Method() string
- func (gf *Gf) Name() string
- func (gf *Gf) Path() string
- func (gf *Gf) Redirect()
- func (gf *Gf) Run() error
- func (gf *Gf) SetApp(app interface{}) error
- func (gf *Gf) SetContentType()
- func (gf *Gf) SetContext(contextInterface interface{}) adapter.WebFrameWork
- func (gf *Gf) Static(prefix, path string)
- func (gf *Gf) Use(app interface{}, plugs []plugins.Plugin) error
- func (gf *Gf) User(ctx interface{}) (models.UserModel, bool)
- func (gf *Gf) Write(body []byte)
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Content ¶
func Content(handler HandlerFunc) ghttp.HandlerFunc
Types ¶
type Gf ¶
type Gf struct { adapter.BaseAdapter // contains filtered or unexported fields }
Gf structure value is a Gf GoAdmin adapter.
func (*Gf) AddHandler ¶
AddHandler implements the method Adapter.AddHandler.
func (*Gf) Content ¶
func (gf *Gf) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, btns ...types.Button)
Content implements the method Adapter.Content.
func (*Gf) DisableLog ¶
func (gf *Gf) DisableLog()
func (*Gf) SetContentType ¶
func (gf *Gf) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Gf) SetContext ¶
func (gf *Gf) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.