Fix documentation
This commit is contained in:
parent
b5fbd197a1
commit
5e4a38dccb
2
doc.go
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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user