aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradnano <[email protected]>2020-09-28 02:16:49 -0400
committeradnano <[email protected]>2020-09-28 02:16:49 -0400
commitbe9d3d0fbf88e0745bef920c79fc56809c1ed485 (patch)
treeb8b9f358b0b5cb45552923fb18597f0b88cc8dbb
parentUpdate comments (diff)
downloadgo-gemini-be9d3d0fbf88e0745bef920c79fc56809c1ed485.tar.xz
go-gemini-be9d3d0fbf88e0745bef920c79fc56809c1ed485.zip
Update comments
-rw-r--r--client.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/client.go b/client.go
index db99406..7b85b33 100644
--- a/client.go
+++ b/client.go
@@ -185,7 +185,9 @@ type Client struct {
// KnownHosts is a list of known hosts that the client trusts.
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
// GetCertificate, if not nil, will be called when a server requests a certificate.