1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2025-08-21 05:44:24 +02:00

Fix documentation

This commit is contained in:
adnano 2020-10-28 16:04:14 -04:00
parent 4249a0c927
commit c19f90f8e7

2
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,
})