diff options
| author | adnano <[email protected]> | 2020-10-12 16:34:52 -0400 |
|---|---|---|
| committer | adnano <[email protected]> | 2020-10-12 16:34:59 -0400 |
| commit | a33a5be0634cbbca6c6f8eb2fd53bceb014fed02 (patch) | |
| tree | a23fdfdab8807baa8a604023f25d729f3edaabf1 /gemini.go | |
| parent | Use a map for registering server handlers (diff) | |
| download | go-gemini-a33a5be0634cbbca6c6f8eb2fd53bceb014fed02.tar.xz go-gemini-a33a5be0634cbbca6c6f8eb2fd53bceb014fed02.zip | |
Update documentation
Diffstat (limited to 'gemini.go')
| -rw-r--r-- | gemini.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,3 @@ -// Package gmi implements the Gemini protocol package gmi import ( @@ -56,7 +55,7 @@ func init() { setupDefaultClientOnce.Do(setupDefaultClient) return knownHosts.Lookup(hostname, cert) } - DefaultClient.GetCertificate = func(hostname string, store CertificateStore) *tls.Certificate { + DefaultClient.GetCertificate = func(hostname string, store *CertificateStore) *tls.Certificate { // If the certificate is in the store, return it if cert, err := store.Lookup(hostname); err == nil { return cert |