Documentation ¶
Index ¶
Constants ¶
View Source
const ( Default = "default" AUTH_USER_ID = "X-Auth-User-Id" )
View Source
const ( ContentTypeName = "Content-Type" ContentTypeApplicationJSON = "application/json;charset=utf-8" ContentTypeTextPlain = "text/plain;charset=utf-8" ContentTypeUrlencoded = "application/x-www-form-urlencoded;charset=utf-8" )
View Source
const ( HeaderRequestId = "X-Request-Id" HeaderRemoteHeader = "X-Remote-Addr" HeaderSourceIp = "X-Src-Ip" HeaderSourceName = "X-Src-Name" )
View Source
const ( HeaderXForwardedFor = "X-Forwarded-For" HeaderAuthorization = "Authorization" HeaderReferer = "Referer" )
Variables ¶
View Source
var (
DefaultHeaders = []string{HeaderXForwardedFor, HeaderReferer}
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.