Refactor client.TrustCertificate workflow

This commit is contained in:
Adnan Maolood
2020-10-31 22:34:51 -04:00
parent b9cb7fe71d
commit 65a5065250
6 changed files with 81 additions and 108 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"time"
)
// CertificateStore maps hostnames to certificates.
// CertificateStore maps certificate scopes to certificates.
// The zero value of CertificateStore is an empty store ready to use.
type CertificateStore struct {
store map[string]tls.Certificate