Documentation ¶
Index ¶
- func JSON(ctx *Context)
- func Multipart(ctx *Context)
- func Start(config *Config)
- func Urlencoded(ctx *Context)
- type Config
- type Context
- type Param
- type Pipe
- type Route
- func (r *Route) Before(args ...middleware)
- func (r *Route) Delete(address string, args ...middleware)
- func (r *Route) Gateway(address string, args ...middleware)
- func (r *Route) Get(address string, args ...middleware)
- func (r *Route) Post(address string, args ...middleware)
- func (r *Route) Put(address string, args ...middleware)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
Context 上下文
func (*Context) ReplyJSON ¶
func (ctx *Context) ReplyJSON(something interface{})
ReplyJSON 以 json 方式返回数据
func (*Context) SetFormData ¶
SetFormData 改变 form 内参数的值
Click to show internal directories.
Click to hide internal directories.