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