Documentation ¶
Index ¶
- func Contexter() flamego.Handler
- type Context
- func (c *Context) Error(errorCode uint, message string) error
- func (c *Context) Query(name string) string
- func (c *Context) QueryFloat64(name string) float64
- func (c *Context) QueryInt(name string) int
- func (c *Context) QueryInt64(name string) int64
- func (c *Context) ServerError() error
- func (c *Context) Success(data ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
Context represents context of a request.
func (*Context) QueryFloat64 ¶
QueryFloat64 returns query result in float64 type.
func (*Context) QueryInt64 ¶
QueryInt64 returns query result in int64 type.
func (*Context) ServerError ¶
Click to show internal directories.
Click to hide internal directories.