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) DisableLog()
- func (is *Iris) FormParam() url.Values
- func (is *Iris) GetCookie() (string, error)
- func (is *Iris) IsPjax() bool
- func (is *Iris) Method() string
- func (is *Iris) Name() string
- func (is *Iris) Path() string
- func (is *Iris) Redirect()
- func (is *Iris) Run() error
- func (is *Iris) SetApp(app interface{}) error
- func (is *Iris) SetContentType()
- func (is *Iris) SetContext(contextInterface interface{}) adapter.WebFrameWork
- func (is *Iris) Static(prefix, path string)
- 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.2
func Content(handler HandlerFunc) iris.Handler
Types ¶
type HandlerFunc ¶ added in v1.3.2
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.2
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) DisableLog ¶ added in v1.3.2
func (is *Iris) DisableLog()
func (*Iris) Redirect ¶ added in v1.3.2
func (is *Iris) Redirect()
Redirect implements the method Adapter.Redirect.
func (*Iris) SetContentType ¶ added in v1.3.2
func (is *Iris) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Iris) SetContext ¶ added in v1.3.2
func (is *Iris) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.