Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType int
const ( JSON ContentType = iota XML RAW FormData EncodedFormData Binary )
func (*ContentType) FromHeader ¶
func (c *ContentType) FromHeader(header string) bool
func (*ContentType) Header ¶
func (c *ContentType) Header() string
type HttpClientError ¶
func SerializeBodyError ¶
func SerializeBodyError(err error) *HttpClientError
func UnMarshallError ¶
func UnMarshallError(err error) *HttpClientError
func UnsupportedMIMETypeError ¶
func UnsupportedMIMETypeError(additional string) *HttpClientError
func ValidationError ¶
func ValidationError(attrName string) *HttpClientError
func (*HttpClientError) Error ¶
func (e *HttpClientError) Error() string
Click to show internal directories.
Click to hide internal directories.