Versions in this module Expand all Collapse all v0 v0.0.2 Nov 11, 2025 Changes in this version + func ExecuteNewRequest(ctx context.Context, method string, u string, body any, dst any, ...) error + type HTTPDoer interface + Do func(req *http.Request) (*http.Response, error) + type PreRequestOptionFunc func(*RequestConfig) error + func (s PreRequestOptionFunc) Apply(r *RequestConfig) error + type RequestConfig struct + APIKey string + BaseURL *url.URL + Body io.Reader + Context context.Context + CustomHTTPDoer HTTPDoer + DefaultBaseURL *url.URL + HTTPClient *http.Client + IdempotencyKey string + MaxRetries int + Middlewares []middleware + Request *http.Request + RequestTimeout time.Duration + ResponseBodyInto any + ResponseInto **http.Response + Secret string + func NewRequestConfig(ctx context.Context, method string, u string, body any, dst any, ...) (*RequestConfig, error) + func PreRequestOptions(opts ...RequestOption) (RequestConfig, error) + func (cfg *RequestConfig) Apply(opts ...RequestOption) error + func (cfg *RequestConfig) Clone(ctx context.Context) *RequestConfig + func (cfg *RequestConfig) Execute() (err error) + type RequestOption interface + Apply func(*RequestConfig) error + func WithDefaultBaseURL(baseURL string) RequestOption + type RequestOptionFunc func(*RequestConfig) error + func (s RequestOptionFunc) Apply(r *RequestConfig) error