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 ¶
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 ¶
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 ¶
func (e *Echo) DisableLog()
func (*Echo) SetContentType ¶
func (e *Echo) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Echo) SetContext ¶
func (e *Echo) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.