Documentation
¶
Index ¶
- type Context
- func (c *Context) HTML(status int, tmpl *template.Template, data interface{})
- func (c *Context) JSON(status int, data interface{})
- func (c *Context) Next()
- func (c *Context) QueryInt64(key string) (int64, error)
- func (c *Context) Redirect(url string)
- func (c *Context) VarInt64(key string) (int64, error)
- 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 {
Req *http.Request
Out http.ResponseWriter
Vars map[string]string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.