Skip to content
Snippets Groups Projects
Commit ff0512eb authored by Mariano Cano's avatar Mariano Cano
Browse files

Fix typo in method name.

parent 4adc6143
Branches
Tags
No related merge requests found
...@@ -109,7 +109,7 @@ duration of the certificate has passed, approximately. ...@@ -109,7 +109,7 @@ duration of the certificate has passed, approximately.
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
defer cancel() defer cancel()
// Get tls.Config for a server // 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 // Get tls.Config for a client
tlsConfig, err := client.GetClientTLSConfig(ctx, sign, pk) tlsConfig, err := client.GetClientTLSConfig(ctx, sign, pk)
// Get an http.Transport for a client, this can be used as a http.RoundTripper // Get an http.Transport for a client, this can be used as a http.RoundTripper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment