package
2.1.4+incompatible
Repository: https://github.com/caeret/ozzo-routing.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
LanguageNegotiator returns a content language negotiation handler.
No description provided by the author
No description provided by the author
No description provided by the author
TypeNegotiator returns a content type negotiation handler.
# Variables
DataWriters lists all supported content types and the corresponding data writers.
# Structs
No description provided by the author
HTMLDataWriter sets the "Content-Type" response header as "text/html; charset=UTF-8" and calls routing.DefaultDataWriter to write the given data to the response.
JSONDataWriter sets the "Content-Type" response header as "application/json" and writes the given data in JSON format to the response.
XMLDataWriter sets the "Content-Type" response header as "application/xml; charset=UTF-8" and writes the given data in XML format to the response.