go-admin: github.com/GoAdminGroup/go-admin/adapter/echo Index | Files

package echo

import "github.com/GoAdminGroup/go-admin/adapter/echo"


Package Files


func Content Uses

func Content(handler HandlerFunc) echo.HandlerFunc

type Echo Uses

type Echo struct {
    // contains filtered or unexported fields

Echo structure value is an Echo GoAdmin adapter.

func (*Echo) AddHandler Uses

func (e *Echo) AddHandler(method, path string, handlers context.Handlers)

AddHandler implements the method Adapter.AddHandler.

func (*Echo) Content Uses

func (e *Echo) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, btns ...types.Button)

Content implements the method Adapter.Content.

func (*Echo) DisableLog Uses

func (e *Echo) DisableLog()

func (*Echo) FormParam Uses

func (e *Echo) FormParam() url.Values

FormParam implements the method Adapter.FormParam.

func (*Echo) GetCookie Uses

func (e *Echo) GetCookie() (string, error)

GetCookie implements the method Adapter.GetCookie.

func (*Echo) IsPjax Uses

func (e *Echo) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Echo) Method Uses

func (e *Echo) Method() string

Method implements the method Adapter.Method.

func (*Echo) Name Uses

func (e *Echo) Name() string

Name implements the method Adapter.Name.

func (*Echo) Path Uses

func (e *Echo) Path() string

Path implements the method Adapter.Path.

func (*Echo) Redirect Uses

func (e *Echo) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Echo) Run Uses

func (e *Echo) Run() error

func (*Echo) SetApp Uses

func (e *Echo) SetApp(app interface{}) error

SetApp implements the method Adapter.SetApp.

func (*Echo) SetContentType Uses

func (e *Echo) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Echo) SetContext Uses

func (e *Echo) SetContext(contextInterface interface{}) adapter.WebFrameWork

SetContext implements the method Adapter.SetContext.

func (*Echo) Static Uses

func (e *Echo) Static(prefix, path string)

func (*Echo) Use Uses

func (e *Echo) Use(app interface{}, plugs []plugins.Plugin) error

Use implements the method Adapter.Use.

func (*Echo) User Uses

func (e *Echo) User(ctx interface{}) (models.UserModel, bool)

User implements the method Adapter.User.

func (*Echo) Write Uses

func (e *Echo) Write(body []byte)

Write implements the method Adapter.Write.

type HandlerFunc Uses

type HandlerFunc func(ctx echo.Context) (types.Panel, error)

Package echo imports 14 packages (graph) and is imported by 3 packages. Updated 2020-07-09. Refresh now. Tools for package owners.