Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSLPinningOption ¶
func NewSSLPinningOption ¶
func NewSSLPinningOption() *SSLPinningOption
func (*SSLPinningOption) AddPin ¶
func (p *SSLPinningOption) AddPin(hostname string, skipCA bool, pins ...string) error
func (*SSLPinningOption) GetPinsForHost ¶
func (p *SSLPinningOption) GetPinsForHost(hostname string) (*SSLPin, error)
Click to show internal directories.
Click to hide internal directories.