Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Negotiator ¶
Negotiator wraps render and does some switching on ContentType
func GetNegotiator ¶
func GetNegotiator(r *http.Request) *Negotiator
GetNegotiator takes a request, and figures out the ContentType from the Content-Type header
Click to show internal directories.
Click to hide internal directories.