From 5e4a38dccb64ffcdbc6827cc12e697d58c185cd2 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Wed, 28 Oct 2020 16:04:14 -0400 Subject: [PATCH] Fix documentation --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index f0d3fdb..76306d0 100644 --- a/doc.go +++ b/doc.go @@ -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, })