diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 09:08:44 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 09:08:44 -0500 |
| commit | 8190e819e8cbe9004fbbb760645ca9032f629491 (patch) | |
| tree | 1349e38865e9555ef5d04b11190722d5468dc2e0 /server.go | |
| parent | certificate: Update documentation (diff) | |
| download | archived-go-gemini-8190e819e8cbe9004fbbb760645ca9032f629491.tar.xz archived-go-gemini-8190e819e8cbe9004fbbb760645ca9032f629491.zip | |
server: Mention certificate store
Diffstat (limited to 'server.go')
| -rw-r--r-- | server.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |