encoding

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expect

func Expect(req *transport.Request, want transport.Encoding) error

Expect verifies that the given request has the given encoding or it returns an error.

func RequestBodyDecodeError

func RequestBodyDecodeError(req *transport.Request, err error) error

RequestBodyDecodeError builds an error that represents a failure to decode the request body.

func RequestBodyEncodeError

func RequestBodyEncodeError(req *transport.Request, err error) error

RequestBodyEncodeError builds an error that represents a failure to encode the request body.

func RequestHeadersDecodeError

func RequestHeadersDecodeError(req *transport.Request, err error) error

RequestHeadersDecodeError builds an error that represents a failure to decode the request headers.

func RequestHeadersEncodeError

func RequestHeadersEncodeError(req *transport.Request, err error) error

RequestHeadersEncodeError builds an error that represents a failure to encode the request headers.

func ResponseBodyDecodeError

func ResponseBodyDecodeError(req *transport.Request, err error) error

ResponseBodyDecodeError builds an error that represents a failure to decode the response body.

func ResponseBodyEncodeError

func ResponseBodyEncodeError(req *transport.Request, err error) error

ResponseBodyEncodeError builds an error that represents a failure to encode the response body.

func ResponseHeadersDecodeError

func ResponseHeadersDecodeError(req *transport.Request, err error) error

ResponseHeadersDecodeError builds an error that represents a failure to decode the response headers.

func ResponseHeadersEncodeError

func ResponseHeadersEncodeError(req *transport.Request, err error) error

ResponseHeadersEncodeError builds an error that represents a failure to encode the response headers.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL