Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContentTypeJson = "application/json" ContentTypeXml = "application/xml" ContentTypeForm = "application/x-www-form-urlencoded" )
View Source
const ( CorrelationIdHeader = "X-Correlation-Id" UserAgentHeader = "User-Agent" UserLanguageHeader = "Accept-Language" SourceIpHeader = "X-Real-Ip" TraceparentHeader = "traceparent" // W3C TracestateHeader = "tracestate" // W3C )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType string
func (ContentType) IsValid ¶
func (t ContentType) IsValid() bool
Click to show internal directories.
Click to hide internal directories.