Expose KnownHosts and CertificateStore internals

This commit is contained in:
Adnan Maolood
2020-11-23 12:17:54 -05:00
parent f6b0443a62
commit 0c75e5d5ad
4 changed files with 45 additions and 39 deletions

View File

@@ -26,7 +26,7 @@ type Server struct {
WriteTimeout time.Duration
// Certificates contains the certificates used by the server.
Certificates CertificateStore
Certificates CertificateDir
// CreateCertificate, if not nil, will be called to create a new certificate
// if the current one is expired or missing.