package
3.0.0-rc.3+incompatible
Repository: https://github.com/drillbits/iris.git
Documentation: pkg.go.dev
# Functions
New constructs a new Render instance with the supplied configs.
# Constants
ContentBinary header value for binary data.
ContentJSON header value for JSON data.
ContentJSONP header value for JSONP data.
ContentLength header constant.
ContentText header value for Text data.
ContentType header constant.
ContentXML header value for XML data.
# Structs
Data built-in renderer.
Head defines the basic ContentType and Status fields.
JSON built-in renderer.
JSONP built-in renderer.
Render is a service that provides functions for easily writing JSON, XML, binary data, and HTML templates out to a HTTP Response.
Text built-in renderer.
XML built-in renderer.
# Interfaces
Engine is the generic interface for all responses.