diff options
| author | adnano <[email protected]> | 2020-09-28 00:41:00 -0400 |
|---|---|---|
| committer | adnano <[email protected]> | 2020-09-28 00:41:00 -0400 |
| commit | 956a2bad524f8223de4582ac3033b65929ca50c3 (patch) | |
| tree | 90810be4fac49b4e105c8b5d17c705a3552b293f /README.md | |
| parent | Make the default client generate certificates (diff) | |
| download | go-gemini-956a2bad524f8223de4582ac3033b65929ca50c3.tar.xz go-gemini-956a2bad524f8223de4582ac3033b65929ca50c3.zip | |
Remove NewCertificateStore function
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ The default client handles this for you. Other clients must specify the fields ```go // Initialize the certificate store. -client.CertificateStore = gmi.NewCertificateStore() +client.CertificateStore = gmi.CertificateStore{} // GetCertificate is called when a server requests a certificate. // The returned certificate, if not nil, will be used when resending the request. client.GetCertificate = func(hostname string, store gmi.CertificateStore) *tls.Certificate { |