Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContext ¶
func WithContext(req *http.Request, rctx *ReqContext) *http.Request
WithContext 携带请求上下文
Types ¶
type ReqContext ¶
type ReqContext struct { Entry *router.Entry PS httprouter.Params AuthInfo interface{} }
ReqContext context
Click to show internal directories.
Click to hide internal directories.