Versions in this module Expand all Collapse all v0 v0.1.0 Apr 4, 2022 Changes in this version + type ContentType int + const Binary + const EncodedFormData + const FormData + const JSON + const RAW + const XML + func (c *ContentType) FromHeader(header string) bool + func (c *ContentType) Header() string + type ErrorCode int + const SerializeBodyErrorCode + const UnMarshallErrorCode + const UnsupportedMIMETypeErrorCode + const ValidationErrorCode + type HttpClientError struct + ErrorCode ErrorCode + ErrorDetails error + ErrorMessage string + func SerializeBodyError(err error) *HttpClientError + func UnMarshallError(err error) *HttpClientError + func UnsupportedMIMETypeError(additional string) *HttpClientError + func ValidationError(attrName string) *HttpClientError + func (e *HttpClientError) Error() string + type Query map[string]any + func (q *Query) Add(key string, value any) + func (q *Query) UrlEncode() (string, error)