Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chains ¶
type Chains struct { // Verified contains the verified chains. // In most cases the entry 0 contains the peer certificate chain // and entry 1 the certificates including the root and the server. Verified [][]*x509.Certificate // Peer contains the peer certificate chain. Peer []*x509.Certificate // Longest contains the longest found chain. Longest []*x509.Certificate // LongestName contains the name of the chain that was the longest. // It is either Peer or Verified with its index. LongestName string }
Chains contains the result of a connection probe to a server.
type Option ¶
type Option func(probe *Probe)
Option is an Option for the New function.
func WithInsecure ¶
WithInsecure allows unverified chains. The default for this option is true.
Click to show internal directories.
Click to hide internal directories.