aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2020-11-23 12:17:54 -0500
committerAdnan Maolood <[email protected]>2020-11-23 12:17:54 -0500
commit0c75e5d5ad53e0a2e4722bfb672feebcf66db903 (patch)
tree80a2d3aca676c945edbcbc53262a18d2754f23f3 /server.go
parentUpdate KnownHosts documentation (diff)
downloadgo-gemini-0c75e5d5ad53e0a2e4722bfb672feebcf66db903.tar.xz
go-gemini-0c75e5d5ad53e0a2e4722bfb672feebcf66db903.zip
Expose KnownHosts and CertificateStore internals
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 52de33a..e687aa8 100644
--- a/server.go
+++ b/server.go
@@ -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.