echo

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() core.Handler

Types

type Context

type Context struct {
	echo.Context
	// contains filtered or unexported fields
}

func NewContext

func NewContext(ctx echo.Context, cb ...func()) *Context

func (*Context) Abort

func (c *Context) Abort()

Abort defined TODO

func (*Context) Cookie

func (c *Context) Cookie(name string) (string, error)

Cookie defined TODO

func (*Context) Deadline

func (c *Context) Deadline() (deadline time.Time, ok bool)

Request defined TODO

func (*Context) Done

func (c *Context) Done() <-chan struct{}

Done defined TODO

func (*Context) Err

func (c *Context) Err() error

Err defined TODO

func (*Context) Fail

func (c *Context) Fail(err error)

Fail defined TODO

func (*Context) File

func (c *Context) File(r io.Reader, filename string, context ...interface{})

File defined TODO

func (*Context) Get

func (c *Context) Get(k string) interface{}

Get defined TODO

func (*Context) GetHeader

func (c *Context) GetHeader(key string) string

GetHeader defined TODO

func (*Context) GetRawData

func (c *Context) GetRawData() ([]byte, error)

GetRawData defined TODO

func (*Context) HTML

func (c *Context) HTML(r io.Reader, context ...interface{})

HTML defined TODO

func (*Context) Header

func (c *Context) Header(key, value string)

Header defined TODO

func (*Context) JSON

func (c *Context) JSON(code int, i interface{})

JSON defined TODO

func (*Context) MultipartForm

func (c *Context) MultipartForm() (*multipart.Form, error)

MultipartForm defined TODO

func (*Context) Next

func (c *Context) Next()

Next defined TODO

func (*Context) Param

func (c *Context) Param(k string) string

Param defined TODO

func (*Context) Query

func (c *Context) Query(k string) string

Query defined TODO

func (*Context) Request

func (c *Context) Request() *http.Request

Request defined TODO

func (*Context) ResponseWriter

func (c *Context) ResponseWriter() http.ResponseWriter

Request defined TODO

func (*Context) Set

func (c *Context) Set(k string, v interface{})

Set defined TODO

func (*Context) SetCookie

func (c *Context) SetCookie(name, value string, maxAge int, path, domain string, secure, httpOnly bool)

SetCookie defined TODO

func (*Context) SetRequest

func (c *Context) SetRequest(r *http.Request)

Request defined TODO

func (*Context) ShouldBindWith

func (c *Context) ShouldBindWith(v interface{}) error

ShouldBindWith defined TODO

func (*Context) String

func (c *Context) String(data string, context ...interface{})

XML defined TODO

func (*Context) Success

func (c *Context) Success(data interface{})

Success defined TODO

func (*Context) Value

func (c *Context) Value(key interface{}) interface{}

Value defined TODO

func (*Context) XML

func (c *Context) XML(r io.Reader, context ...interface{})

XML defined TODO

Jump to

Keyboard shortcuts

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