Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertPool ¶
type CertPool struct {
// contains filtered or unexported fields
}
CertPool maitains a pool of faked TLS certificates
func NewCertPool ¶
func (*CertPool) ServeHTTPS ¶
func (pool *CertPool) ServeHTTPS(w http.ResponseWriter, req *http.Request, serve func(w http.ResponseWriter, req *http.Request)) error
ServeHTTPS intercepts an HTTPS request and serve it as a normal HTTP request
Click to show internal directories.
Click to hide internal directories.