Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents the application configuration
func NewConfig ¶
func NewConfig() *Config
NewConfig creates a new configuration with default values Returns: - *Config: A new configuration instance with default values
func (*Config) AddHeader ¶
AddHeader adds a header to the configuration Parameters: - key: string - Header key - value: string - Header value
func (*Config) SetMaxRetries ¶
SetMaxRetries sets the maximum number of retries Parameters: - retries: int - Maximum number of retries
func (*Config) SetTimeout ¶
SetTimeout sets the request timeout Parameters: - timeout: int - Timeout in seconds
Click to show internal directories.
Click to hide internal directories.