Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestDecoder ¶
RequestDecoder returns a HTTP request body decoder. The resulting decoder uses the CBOR binary serialization standard if no content type is provided in the request or if the content type explicitly specifies "application/cbor". The implementation also supports decoding JSON, XML and GOB encoded requests when the content type header is set accordingly.
func RequestEncoder ¶
RequestEncoder returns a HTTP request encoder that uses CBOR.
func ResponseDecoder ¶
ResponseDecoder returns a HTTP response decoder that uses CBOR.
func ResponseEncoder ¶
ResponseEncoder always encodes the response with CBOR. See the default Goa ResponseEncoder for implementing content type negotiation if your service needs to support other types of response encodings.
Types ¶
This section is empty.