echo

package
v1.2.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.1.2

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.0.9

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

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) FormParam added in v1.2.0

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

FormParam implements the method Adapter.FormParam.

func (*Echo) GetCookie added in v1.0.9

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

GetCookie implements the method Adapter.GetCookie.

func (*Echo) IsPjax added in v1.2.7

func (e *Echo) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Echo) Lang added in v1.2.18

func (e *Echo) Lang() string

Lang implements the method Adapter.Lang.

func (*Echo) Method added in v1.0.9

func (e *Echo) Method() string

Method implements the method Adapter.Method.

func (*Echo) Name added in v1.0.9

func (*Echo) Name() string

Name implements the method Adapter.Name.

func (*Echo) Path added in v1.0.9

func (e *Echo) Path() string

Path implements the method Adapter.Path.

func (*Echo) Query added in v1.2.23

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

Query implements the method Adapter.Query.

func (*Echo) Redirect added in v1.0.9

func (e *Echo) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Echo) SetApp added in v1.0.9

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

SetApp implements the method Adapter.SetApp.

func (*Echo) SetContentType added in v1.0.9

func (e *Echo) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Echo) SetContext added in v1.0.9

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

SetContext implements the method Adapter.SetContext.

func (*Echo) Use

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

Use implements the method Adapter.Use.

func (*Echo) User added in v1.1.2

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

User implements the method Adapter.User.

func (*Echo) Write added in v1.0.9

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

Write implements the method Adapter.Write.

type HandlerFunc added in v1.1.2

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL