server: Mention certificate store

This commit is contained in:
Adnan Maolood 2021-02-23 09:08:44 -05:00
parent 871a8fe3d2
commit 8190e819e8

View File

@ -38,6 +38,9 @@ type Server struct {
//
// If GetCertificate is nil or returns nil, then no certificate
// will be used and the connection will be aborted.
//
// See the certificate submodule for a certificate store that creates
// and rotates certificates as needed.
GetCertificate func(hostname string) (*tls.Certificate, error)
// ErrorLog specifies an optional logger for errors accepting connections,