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) 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) Name() string
- func (gf *Gf) Path() string
- func (gf *Gf) Query() url.Values
- func (gf *Gf) Redirect()
- func (gf *Gf) Request() *http.Request
- func (gf *Gf) SetApp(app interface{}) error
- func (gf *Gf) SetContentType()
- func (*Gf) SetContext(contextInterface interface{}) adapter.WebFrameWork
- 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) SetContentType ¶
func (gf *Gf) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Gf) SetContext ¶
func (*Gf) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.