aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc.go2
1 files changed, 1 insertions, 1 deletions
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,
})