Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TypeKey for HTTP headers. TypeKey = "Content-Type" // ErrInvalidEncoder for content. ErrInvalidEncoder = errors.New("invalid encoder") )
Functions ¶
func AddJSONHeader ¶ added in v1.243.0
AddJSONHeader for content.
Types ¶
Click to show internal directories.
Click to hide internal directories.