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

package echo

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

Index

Package Files

echo.go

func Content Uses

func Content(handler HandlerFunc) echo.HandlerFunc

type Echo Uses

type Echo struct {
    adapter.BaseAdapter
    // contains filtered or unexported fields
}

Echo structure value is an Echo GoAdmin adapter.

func (*Echo) AddHandler Uses

func (e *Echo) AddHandler(method, path string, plug plugins.Plugin)

func (*Echo) Content Uses

func (e *Echo) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Echo) GetCookie Uses

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

func (*Echo) Method Uses

func (e *Echo) Method() string

func (*Echo) Name Uses

func (e *Echo) Name() string

func (*Echo) Path Uses

func (e *Echo) Path() string

func (*Echo) PjaxHeader Uses

func (e *Echo) PjaxHeader() string

func (*Echo) Redirect Uses

func (e *Echo) Redirect()

func (*Echo) SetApp Uses

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

func (*Echo) SetContentType Uses

func (e *Echo) SetContentType()

func (*Echo) SetContext Uses

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

func (*Echo) Use Uses

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

func (*Echo) User Uses

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

func (*Echo) Write Uses

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

type HandlerFunc Uses

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

Package echo imports 13 packages (graph) and is imported by 2 packages. Updated 2020-01-24. Refresh now. Tools for package owners.