Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
Config holds HTTP client configuration
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a default HTTP client configuration
type Result ¶
type Result struct {
URL string
StatusCode int
Size int64
BodyHash string
ContentType string
RedirectURL string
Error error
}
Result holds the HTTP request result
func HeadRequest ¶
HeadRequest performs an HTTP HEAD request (much faster, no body transfer)
Click to show internal directories.
Click to hide internal directories.