Documentation ¶
Index ¶
- func NewHandler() core.Handler
- type Context
- func (c *Context) Abort()
- func (c *Context) Cookie(name string) (string, error)
- func (c *Context) Deadline() (deadline time.Time, ok bool)
- func (c *Context) Done() <-chan struct{}
- func (c *Context) Err() error
- func (c *Context) Fail(err error)
- func (c *Context) File(r io.Reader, filename string, context ...interface{})
- func (c *Context) Get(k string) interface{}
- func (c *Context) GetHeader(key string) string
- func (c *Context) GetRawData() ([]byte, error)
- func (c *Context) HTML(r io.Reader, context ...interface{})
- func (c *Context) Header(key, value string)
- func (c *Context) JSON(code int, i interface{})
- func (c *Context) MultipartForm() (*multipart.Form, error)
- func (c *Context) Next()
- func (c *Context) Param(k string) string
- func (c *Context) Query(k string) string
- func (c *Context) Request() *http.Request
- func (c *Context) ResponseWriter() http.ResponseWriter
- func (c *Context) Set(k string, v interface{})
- func (c *Context) SetCookie(name, value string, maxAge int, path, domain string, secure, httpOnly bool)
- func (c *Context) SetRequest(r *http.Request)
- func (c *Context) ShouldBindWith(v interface{}) error
- func (c *Context) String(data string, context ...interface{})
- func (c *Context) Success(data interface{})
- func (c *Context) Value(key interface{}) interface{}
- func (c *Context) XML(r io.Reader, context ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
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) MultipartForm ¶
MultipartForm defined TODO
func (*Context) ResponseWriter ¶
func (c *Context) ResponseWriter() http.ResponseWriter
Request 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) ShouldBindWith ¶
ShouldBindWith defined TODO
Click to show internal directories.
Click to hide internal directories.