You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// HTTPContext context of a api call
type HTTPContext struct {
Request *http.Request
Response http.ResponseWriter
buf *bytes.Buffer
header []httpHeader
user *user.TypeDB
userGot bool
}
The text was updated successfully, but these errors were encountered:
// HTTPContext context of a api call
type HTTPContext struct {
Request *http.Request
Response http.ResponseWriter
buf *bytes.Buffer
header []httpHeader
user *user.TypeDB
userGot bool
}
处理请求的时候好像没使用go原生的context,为啥?用这个HttpContext是因为能带更多信息?
The text was updated successfully, but these errors were encountered: