1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 20:20:39 +00:00
This commit is contained in:
astaxie
2016-09-15 20:04:45 +08:00
parent 421bf97b84
commit 868e14b8ba
2 changed files with 21 additions and 10 deletions

View File

@ -40,12 +40,14 @@ var (
// BeegoInput operates the http request header, data, cookie and body.
// it also contains router params and current session.
type BeegoInput struct {
Context *Context
CruSession session.Store
pnames []string
pvalues []string
data map[interface{}]interface{} // store some values in this context when calling context in filter or controller.
RequestBody []byte
Context *Context
CruSession session.Store
pnames []string
pvalues []string
data map[interface{}]interface{} // store some values in this context when calling context in filter or controller.
RequestBody []byte
RunMethod string
RunController reflect.Type
}
// NewInput return BeegoInput generated by Context.