Versions in this module Expand all Collapse all v0 v0.1.0 Nov 22, 2026 Changes in this version + type APIError struct + Header http.Header + StatusCode int + func NewAPIError(statusCode int, header http.Header, err error) *APIError + func (a *APIError) Error() string + func (a *APIError) Unwrap() error + type BaseURLOption struct + BaseURL string + type BodyPropertiesOption struct + BodyProperties map[string]interface{} + type HTTPClient interface + Do func(*http.Request) (*http.Response, error) + type HTTPClientOption struct + HTTPClient HTTPClient + type HTTPHeaderOption struct + HTTPHeader http.Header + type MaxAttemptsOption struct + MaxAttempts uint + type MaxBufSizeOption struct + MaxBufSize int + type MaxStreamReconnectAttemptsOption struct + MaxStreamReconnectAttempts uint + type QueryParametersOption struct + QueryParameters url.Values + type RequestOption interface + type RequestOptions struct + BaseURL string + BodyProperties map[string]interface{} + DisableRetries bool + DisableStreamReconnection bool + HTTPClient HTTPClient + HTTPHeader http.Header + MaxAttempts uint + MaxBufSize int + MaxStreamReconnectAttempts uint + QueryParameters url.Values + Token string + TokenFunc func() (string, error) + func NewRequestOptions(opts ...RequestOption) *RequestOptions + func (r *RequestOptions) ToHeader() http.Header + type Response struct + Body T + Header http.Header + StatusCode int + type TokenFuncOption struct + TokenFunc func() (string, error) + type TokenOption struct + Token string + type WithoutRetriesOption struct + type WithoutStreamReconnectionOption struct