Versions in this module Expand all Collapse all v0 v0.1.1 Nov 23, 2026 Changes in this version type Options + VaultURL *sdk.VaultSecret + func (o Options) DisplayRequest(ctx context.Context, settings map[string]any) (HTTPResult, error) v0.1.0 Nov 14, 2026 Changes in this version + const MaximumPollBackoff + func ExtractPath(root any, path string) (any, bool, error) + func Interval(method string, seconds float64) time.Duration + func ParsePath(path string) ([]pathPart, error) + func ParseRetryAfter(value string, now time.Time) time.Time + func PathSuggestions(root any) []string + func PollJitter() float64 + func RetryAt(err error) time.Time + func RetryDelay(interval time.Duration, failures int, jitter float64) time.Duration + func RetryLabel(next, now time.Time) string + type HTTPError struct + Retry time.Time + Status int + func (e *HTTPError) Error() string + func (e *HTTPError) SafeError() error + type HTTPResult struct + DurationMS int64 + Fields map[string]any + Missing []string + Paths []string + Preview any + RetryAfter time.Time + Revalidated bool + Status int + func Request(ctx context.Context, s map[string]any, options Options) (result HTTPResult, requestErr error) + func RequestHTTP(ctx context.Context, s map[string]any) (HTTPResult, error) + type Options struct + AllowUserInfo bool + Automatic bool + Cache *ValidatorCache + NoRedirect bool + StatusOnly bool + type PollingFeedback struct + Failure string + LastValue string + NextRetry string + Stale bool + type Service struct + Client *http.Client + MaximumResponse int64 + func NewService() *Service + func (h *Service) Close() + func (h *Service) Do(ctx context.Context, method, endpoint string, headers map[string]string, ...) ([]byte, error) + func (h *Service) JSON(ctx context.Context, method, endpoint string, headers map[string]string, ...) error + type ValidatorCache struct + func NewValidatorCache() *ValidatorCache + func (c *ValidatorCache) Reset()