Versions in this module Expand all Collapse all v1 v1.22.6 Aug 10, 2025 Changes in this version + func EscapePath(path string, encodeSep bool) string + func SplitURI(uri string) (path, query string) + type Encoder struct + func NewEncoder(path, query string, headers http.Header) (*Encoder, error) + func NewEncoderWithRawPath(path, rawPath, query string, headers http.Header) (*Encoder, error) + func (e *Encoder) AddHeader(key string) HeaderValue + func (e *Encoder) AddQuery(key string) QueryValue + func (e *Encoder) Encode(req *http.Request) (*http.Request, error) + func (e *Encoder) HasQuery(key string) bool + func (e *Encoder) Headers(prefix string) Headers + func (e *Encoder) SetHeader(key string) HeaderValue + func (e *Encoder) SetQuery(key string) QueryValue + func (e *Encoder) SetURI(key string) URIValue + func (e Encoder) HasHeader(key string) bool + type HeaderValue struct + func (h HeaderValue) BigDecimal(v *big.Float) + func (h HeaderValue) BigInteger(v *big.Int) + func (h HeaderValue) Blob(v []byte) + func (h HeaderValue) Boolean(v bool) + func (h HeaderValue) Byte(v int8) + func (h HeaderValue) Double(v float64) + func (h HeaderValue) Float(v float32) + func (h HeaderValue) Integer(v int32) + func (h HeaderValue) Long(v int64) + func (h HeaderValue) Short(v int16) + func (h HeaderValue) String(v string) + type Headers struct + func (h Headers) AddHeader(key string) HeaderValue + func (h Headers) SetHeader(key string) HeaderValue + type QueryValue struct + func NewQueryValue(query url.Values, key string, append bool) QueryValue + func (qv QueryValue) BigDecimal(v *big.Float) + func (qv QueryValue) BigInteger(v *big.Int) + func (qv QueryValue) Blob(v []byte) + func (qv QueryValue) Boolean(v bool) + func (qv QueryValue) Byte(v int8) + func (qv QueryValue) Double(v float64) + func (qv QueryValue) Float(v float32) + func (qv QueryValue) Integer(v int32) + func (qv QueryValue) Long(v int64) + func (qv QueryValue) Short(v int16) + func (qv QueryValue) String(v string) + type URIValue struct + func (u URIValue) BigDecimal(v *big.Float) error + func (u URIValue) BigInteger(v *big.Int) error + func (u URIValue) Boolean(v bool) error + func (u URIValue) Byte(v int8) error + func (u URIValue) Double(v float64) error + func (u URIValue) Float(v float32) error + func (u URIValue) Integer(v int32) error + func (u URIValue) Long(v int64) error + func (u URIValue) Short(v int16) error + func (u URIValue) String(v string) error