# Packages
No description provided by the author
# Functions
compress returns bytes len that param s after the compression.
HttpMux 返回所需的封装Handler.
IsKnownResource returns if the given resource is known or not.
NewGatewayHook returns a new gatewayHook.
NewRecorder returns an initialized ResponseRecorder.
SetAllowCredentials sets to allow CORS credentials.
SetAllowHostsRegexp sets the allowed hosts for CORS.
# Constants
Token authorization header.
接到请求的时间.
client端请求,包含windowns、mac、Android、ios4个客户端.
Request from third party.
web端请求.
个人账户id.
客户端版本号, 如:3.4.0(客户端使用).
企业id.
客户端资源号。如:mga、mip.
开放平台请求所需的client id.
开放平台请求所需的corp code.
设备唯一id(客户端使用).
http header:x-forwarded-for.
语言 简体中文:zh_CN; 繁体中文:zh_TW;英文:en_US.
唯一请求id,跟踪日志使用.
登录sessionId(client端使用),web端使用cookie.
签名串。需要加签验证的接口必填.
请求来源。web,client(包括4个客户端).
请求时间戳,单位(毫秒).
用户id.
# Structs
http请求处理中间件.
gzip 处理中间件.
ResponseRecorder is an implementation of http.ResponseWriter.