Update comments
This commit is contained in:
parent
5edecf01a2
commit
be9d3d0fbf
|
@ -185,7 +185,9 @@ type Client struct {
|
||||||
// KnownHosts is a list of known hosts that the client trusts.
|
// KnownHosts is a list of known hosts that the client trusts.
|
||||||
KnownHosts KnownHosts
|
KnownHosts KnownHosts
|
||||||
|
|
||||||
// CertificateStore contains all the certificates that the client has stored.
|
// CertificateStore maps hostnames to certificates.
|
||||||
|
// It is used to determine which certificate to use when the server requests
|
||||||
|
// a certificate.
|
||||||
CertificateStore CertificateStore
|
CertificateStore CertificateStore
|
||||||
|
|
||||||
// GetCertificate, if not nil, will be called when a server requests a certificate.
|
// GetCertificate, if not nil, will be called when a server requests a certificate.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user