Documentation
¶
Overview ¶
Package httpclient provides a shared, configurable HTTP client for all modules. Using a single factory avoids each module creating its own client with inconsistent timeouts, user-agents or proxy settings.
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = 15 * time.Second DefaultUserAgent = "Mozilla/5.0 (compatible; BLACKHORN/1.0; +https://github.com/DonatoReis/blackhorn)" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.