Versions in this module Expand all Collapse all v1 v1.0.0 Oct 3, 2025 Changes in this version + type BasicAuth struct + Password string + Username string + type BufferPool struct + func (p *BufferPool) Get() []byte + func (p *BufferPool) Put(buf []byte) + type PooledRequest struct + BasicAuth *BasicAuth + BearerToken string + Body any + Context interface{} + Headers map[string]string + MaxRetries int + Method string + QueryParams map[string]any + Timeout int64 + URL string + func (r *PooledRequest) Reset() + type PooledResponse struct + Attempts int + Body string + ContentLength int64 + Duration int64 + Headers map[string][]string + Proto string + RawBody []byte + Request interface{} + Response interface{} + Status string + StatusCode int + func (r *PooledResponse) Reset() + type RequestPool struct + func (p *RequestPool) Get() *PooledRequest + func (p *RequestPool) Put(req *PooledRequest) + type ResponsePool struct + func (p *ResponsePool) Get() *PooledResponse + func (p *ResponsePool) Put(resp *PooledResponse) + type StringBuilderPool struct + func (p *StringBuilderPool) Get() *strings.Builder + func (p *StringBuilderPool) Put(sb *strings.Builder)