diff options
| author | Adnan Maolood <[email protected]> | 2020-10-28 16:04:14 -0400 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-10-28 16:04:14 -0400 |
| commit | 5e4a38dccb64ffcdbc6827cc12e697d58c185cd2 (patch) | |
| tree | f9f83ef9322ec6ff58c62a15afcecb56e6f0d690 /doc.go | |
| parent | Update documentation (diff) | |
| download | go-gemini-5e4a38dccb64ffcdbc6827cc12e697d58c185cd2.tar.xz go-gemini-5e4a38dccb64ffcdbc6827cc12e697d58c185cd2.zip | |
Fix documentation
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ Clients can control when to trust certificates with TrustCertificate: Clients can create client certificates upon the request of a server: - client.CreateCertificate = func(hostname, path string) *tls.Certificate { + client.CreateCertificate = func(hostname, path string) (tls.Certificate, error) { return gemini.CreateCertificate(gemini.CertificateOptions{ Duration: time.Hour, }) |