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.
func WithTLSSkipVerify ¶
WithTLSSkipVerify enables or disables the verification of the server TLS certificates. This option defaults to false.
Click to show internal directories.
Click to hide internal directories.