Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestIDHeader = "X-Request-Id"
RequestIDHeader is the name of the HTTP Header which contains the request id.
Functions ¶
func Accept ¶
Accept generates a handler that writes a 415 Unsupported Media Type header if the request's Accept header does not match the provided media type.
func ContentType ¶
ContentType generates a handler that writes a 415 Unsupported Media Type header if the request's Content-Type header does not match the provided media type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.