package
Version:
v0.0.0-...-b631e0d
Opens a new window with list of versions in this module.
Published: Jun 11, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handler gets a negotiator using the request,
then renders a Payload
Negotiator wraps render and does
some switching on ContentType
GetNegotiator takes a request, and figures
out the ContentType from the Content-Type header
Respond switches on Content Type to determine
the response
type Payload struct {
XMLName xml.Name `xml:"payload" json:"-"`
Status string `xml:"status" json:"status"`
}
Payload defines it's layout in xml and json
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.