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, btns ...types.Button)
- 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) 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 ¶
func Content(handler HandlerFunc) iris.Handler
Types ¶
type HandlerFunc ¶
type Iris ¶
type Iris struct { adapter.BaseAdapter // contains filtered or unexported fields }
Iris structure value is an Iris GoAdmin adapter.
func (*Iris) AddHandler ¶
AddHandler implements the method Adapter.AddHandler.
func (*Iris) Content ¶
func (is *Iris) Content(ctx interface{}, getPanelFn types.GetPanelFn, btns ...types.Button)
Content implements the method Adapter.Content.
func (*Iris) DisableLog ¶
func (is *Iris) DisableLog()
func (*Iris) SetContentType ¶
func (is *Iris) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Iris) SetContext ¶
func (is *Iris) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.