Documentation ¶
Index ¶
- func Expect(req *transport.Request, want ...transport.Encoding) error
- func FromOptions(opts []yarpc.CallOption) []encoding.CallOption
- func RequestBodyDecodeError(req *transport.Request, err error) error
- func RequestBodyEncodeError(req *transport.Request, err error) error
- func RequestHeadersDecodeError(req *transport.Request, err error) error
- func RequestHeadersEncodeError(req *transport.Request, err error) error
- func ResponseBodyDecodeError(req *transport.Request, err error) error
- func ResponseBodyEncodeError(req *transport.Request, err error) error
- func ResponseHeadersDecodeError(req *transport.Request, err error) error
- func ResponseHeadersEncodeError(req *transport.Request, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expect ¶
Expect verifies that the given request has one of the given encodings or it returns an error.
func FromOptions ¶ added in v1.0.0
func FromOptions(opts []yarpc.CallOption) []encoding.CallOption
FromOptions converts a collection of yarpc.CallOptionso to encoding.CallOptions.
func RequestBodyDecodeError ¶
RequestBodyDecodeError builds an error that represents a failure to decode the request body.
func RequestBodyEncodeError ¶
RequestBodyEncodeError builds an error that represents a failure to encode the request body.
func RequestHeadersDecodeError ¶
RequestHeadersDecodeError builds an error that represents a failure to decode the request headers.
func RequestHeadersEncodeError ¶
RequestHeadersEncodeError builds an error that represents a failure to encode the request headers.
func ResponseBodyDecodeError ¶
ResponseBodyDecodeError builds an error that represents a failure to decode the response body.
func ResponseBodyEncodeError ¶
ResponseBodyEncodeError builds an error that represents a failure to encode the response body.
func ResponseHeadersDecodeError ¶
ResponseHeadersDecodeError builds an error that represents a failure to decode the response headers.
Types ¶
This section is empty.