Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerCertificates ¶
func GetServerCertificates(config Config, urls ...string) <-chan CertificatesOrError
GetServerCertificates gets the certificate chain associated with a URL This is non-blocking. Use the blocking version GetServerCertificatesBlocking if suitable
Types ¶
type CertificatesOrError ¶
type CertificatesOrError struct { URL string CertificateChain []*x509.Certificate Error error }
CertificatesOrError contains the certificate chain associated with a URL, or error if there was a problem
func GetServerCertificatesBlocking ¶
func GetServerCertificatesBlocking(config Config, urls ...string) (out []CertificatesOrError)
GetServerCertificatesBlocking gets the certificate chain associated with a URL
Click to show internal directories.
Click to hide internal directories.