Versions in this module Expand all Collapse all v0 v0.0.3 Dec 23, 2022 v0.0.1 Dec 23, 2022 Changes in this version + func Crash(parent string) + func GetSSLPins(server string) ([]string, error) + type PinnedSite struct + Failed bool + Host string + Pins []string + type SSLPinner struct + BadPinDetected func(string) + DialerConfig *hpkp.DialerConfig + Hosts []string + RequireAll bool + func New(hosts []string, requireAll bool, badPinDetected func(p string)) (*SSLPinner, error) + func (p *SSLPinner) CreateDialer() error + func (p *SSLPinner) GeneratePins(pinChannel chan PinnedSite) + func (p *SSLPinner) NewClient(proxy string) (*http.Client, error) + func (p *SSLPinner) PinClient(client *http.Client) (*http.Client, error) + type SSLPinnerTransport struct + BadPinDetected func(proxy string) + DefaultTransport *http.Transport + Proxy string + func (t *SSLPinnerTransport) RoundTrip(r *http.Request) (*http.Response, error)