Versions in this module Expand all Collapse all v1 v1.2.26 Apr 25, 2024 v1.2.25 Apr 24, 2024 Changes in this version type Gear + func (gears *Gear) Request() *http.Request v1.2.24 Nov 26, 2022 Changes in this version + func Content(handler HandlerFunc) gear.Middleware + type Gear struct + func (*Gear) Name() string + func (*Gear) SetContext(contextInterface interface{}) adapter.WebFrameWork + func (gears *Gear) AddHandler(method, path string, handlers context.Handlers) + func (gears *Gear) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, ...) + func (gears *Gear) FormParam() url.Values + func (gears *Gear) GetCookie() (string, error) + func (gears *Gear) IsPjax() bool + func (gears *Gear) Lang() string + func (gears *Gear) Method() string + func (gears *Gear) Path() string + func (gears *Gear) Query() url.Values + func (gears *Gear) Redirect() + func (gears *Gear) SetApp(app interface{}) error + func (gears *Gear) SetContentType() + func (gears *Gear) Use(app interface{}, plugs []plugins.Plugin) error + func (gears *Gear) User(ctx interface{}) (models.UserModel, bool) + func (gears *Gear) Write(body []byte) + type HandlerFunc func(ctx *gear.Context) (types.Panel, error)