Documentation
¶
Overview ¶
Description: This file contains the client package which is responsible for creating a new HTTP client with custom transport settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
DialTimeout time.Duration // Timeout for establishing the connection
HandshakeTimeout time.Duration // Timeout for TLS handshake
ResponseHeaderTimeout time.Duration // Timeout for server response headers
ProxyURL string // Proxy URL for the HTTP client (optional)
}
Config holds configuration settings for the HTTP client.
func (Config) CreateNewClient ¶
New creates a new HTTP client with custom transport settings.
Click to show internal directories.
Click to hide internal directories.