From ff0512eb58952eca30d0c8c7aebdf060214e144f Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 6 Nov 2018 15:08:36 -0800 Subject: [PATCH] Fix typo in method name. --- examples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index c945faf9..e6bcebaa 100644 --- a/examples/README.md +++ b/examples/README.md @@ -109,7 +109,7 @@ duration of the certificate has passed, approximately. ctx, cancel := context.WithCancel(context.Background()) defer cancel() // Get tls.Config for a server -tlsConfig, err := client.GetClientTLSConfig(ctx, sign, pk) +tlsConfig, err := client.GetServerTLSConfig(ctx, sign, pk) // Get tls.Config for a client tlsConfig, err := client.GetClientTLSConfig(ctx, sign, pk) // Get an http.Transport for a client, this can be used as a http.RoundTripper