Documentation ¶
Index ¶
Constants ¶
View Source
const ( Origin = "origin" AccessControlRequestMethod = "Access-Control-Request-Method" )
cors client request header
View Source
const ( AccessControlAllowOrigin = "Access-Control-Allow-Origin" AccessControlAllowHeaders = "Access-Control-Allow-AccessAllowHeaders" AccessControlAllowMethods = "Access-Control-Allow-AccessAllowsMethods" AccessControlExposeHeaders = "Access-Control-Expose-AccessAllowHeaders" AccessControlMaxAge = "Access-Control-Max-Age" AccessControlAllowCredentials = "Access-Control-Allow-Credentials" )
cors server response header
View Source
const ( ContentType = "Content-Type" XForwardFor = "X-Forwarded-For" AcceptLanguage = "Accept-Language" ContentLanguage = "Content-Language" Authorization = "Authorization" BearerToken = "Bearer " )
View Source
const (
RequestIdHeader = "X-Request-ID"
)
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.