client

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOptimizedTransport

func CreateOptimizedTransport(insecureSkipVerify bool) *http.Transport

CreateOptimizedTransport creates an HTTP transport with optimized connection pool settings

func CreateRetryClient

func CreateRetryClient(
	authMode, authSecret string,
	timeout time.Duration,
	insecureSkipVerify bool,
	maxRetries int,
	retryDelay, maxRetryDelay time.Duration,
	authHeader string,
) (*retry.Client, error)

CreateRetryClient creates an HTTP client with retry support and authentication. This is used for service-to-service communication with external APIs.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL