Versions in this module Expand all Collapse all v0 v0.1.2 Jun 5, 2020 v0.1.1 Jun 3, 2020 Changes in this version + var NoTemplateSpecified = errors.New("output without method that selects template") + type Decoder interface + Decode func(v interface{}) error + type Decoding interface + Accepts func() string + Decoder func(r *http.Request) Decoder + func NewForm(uvd URLValuesDecoder) Decoding + type Encoder interface + Encode func(v interface{}) error + type Encoding interface + Encoder func(w http.ResponseWriter) Encoder + Produces func() string + func NewHTML(t *template.Template) Encoding + type JSON struct + func (_ JSON) Accepts() string + func (_ JSON) Decoder(r *http.Request) Decoder + func (_ JSON) Encoder(w http.ResponseWriter) Encoder + func (_ JSON) Produces() string + type URLValuesDecoder interface + Decode func(v interface{}, d url.Values) error + type XML struct + func (_ XML) Accepts() string + func (_ XML) Decoder(r *http.Request) Decoder + func (_ XML) Encoder(w http.ResponseWriter) Encoder + func (_ XML) Produces() string