Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserAgent = "User-Agent" ContentType = "Content-Type" ContentLength = "Content-Length" Authorization = "Authorization" ContentEncoding = "Content-Encoding" Accept = "Accept" AcceptEncoding = "Accept-Encoding" StrictTransportSecurity = "Strict-Transport-Security" CacheControl = "Cache-Control" Pragma = "Pragma" Expires = "Expires" Connection = "Connection" WWWAuthenticate = "WWW-Authenticate" )
View Source
const ( TykHookshot = "Tyk-Hookshot" ApplicationJSON = "application/json" ApplicationXML = "application/xml" )
View Source
const ( XRealIP = "X-Real-IP" XForwardFor = "X-Forwarded-For" XAuthResult = "X-Auth-Result" XSessionAlias = "X-Session-Alias" XInitialURI = "X-Initial-URI" XForwardProto = "X-Forwarded-Proto" XContentTypeOptions = "X-Content-Type-Options" XXSSProtection = "X-XSS-Protection" XFrameOptions = "X-Frame-Options" XTykNodeID = "x-tyk-nodeid" XTykNonce = "x-tyk-nonce" XTykHostname = "x-tyk-hostname" XGenerator = "X-Generator" XTykAuthorization = "X-Tyk-Authorization" )
View Source
const ( XRateLimitLimit = "X-RateLimit-Limit" XRateLimitRemaining = "X-RateLimit-Remaining" XRateLimitReset = "X-RateLimit-Reset" )
Gateway's custom response headers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.