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