Documentation ¶
Index ¶
- type Context
- func (c *Context) Abort()
- func (c *Context) AbortWithError(code int, err error)
- func (c *Context) BindBody(v interface{}) error
- func (c *Context) Header(key, value string)
- func (c *Context) JSON(code int, body interface{})
- func (c *Context) Param(key string) string
- func (c *Context) Query(key string) string
- func (c *Context) Status(code int)
- func (c *Context) Text(code int, body string)
- type Handler
- type Route
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Writer http.ResponseWriter Request *http.Request Params map[string]string // contains filtered or unexported fields }
func (*Context) AbortWithError ¶
Click to show internal directories.
Click to hide internal directories.