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

@@ -15,10 +15,10 @@ import (
// Client is a Gemini client.
type Client struct {
// KnownHosts is a list of known hosts.
KnownHosts KnownHosts
KnownHosts KnownHostsFile
// Certificates stores client-side certificates.
Certificates CertificateStore
Certificates CertificateDir
// Timeout specifies a time limit for requests made by this
// Client. The timeout includes connection time and reading