Versions in this module Expand all Collapse all v1 v1.0.0 Jan 17, 2019 Changes in this version + const DOWNSTREAM_SERVER_IP + const REMOTE_REAL_IP_HEADER_KEY + const REMOTE_REAL_PORT_HEADER_KEY + type BaseContext struct + AccessLogger golog.ILogger + LogFormater golog.IFormater + QueryValues url.Values + RemoteRealAddr struct{ ... } + Req *http.Request + RespBody []byte + RespWriter http.ResponseWriter + Rid []byte + func (b *BaseContext) AfterAction() + func (b *BaseContext) BeforeAction() + func (b *BaseContext) Destruct() + func (b *BaseContext) Request() *http.Request + func (b *BaseContext) ResponseBody() []byte + func (b *BaseContext) ResponseWriter() http.ResponseWriter + func (b *BaseContext) SetResponseBody(body []byte) + type BaseController struct + func (b *BaseController) NewActionContext(req *http.Request, respWriter http.ResponseWriter) controller.ActionContext