Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(c *config)
Option is a configuration option for the HTTP client.
func WithExtraCertificates ¶
WithExtraCertificates adds more certificates to the pool of certificates trusted by this client. path is the path to a PEM file containing one or more certificates. If path is empty or the file at path does not exist, no certificates are added to the pool.
Click to show internal directories.
Click to hide internal directories.