Fix golang doc URLs
This commit is contained in:
parent
c011bdfdd8
commit
fffa413121
8 changed files with 10 additions and 10 deletions
|
@ -3,7 +3,7 @@ package tls
|
|||
import "crypto/tls"
|
||||
|
||||
// GetVersion returns the normalized TLS version.
|
||||
// Available TLS versions defined at https://golang.org/pkg/crypto/tls/#pkg-constants
|
||||
// Available TLS versions defined at https://pkg.go.dev/crypto/tls/#pkg-constants
|
||||
func GetVersion(connState *tls.ConnectionState) string {
|
||||
switch connState.Version {
|
||||
case tls.VersionTLS10:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue