crypto/tls.Config.ServerName (field)
28 uses
crypto/tls (current package)
common.go#L607: ServerName string
common.go#L765: ServerName: c.ServerName,
handshake_client.go#L37: if len(config.ServerName) == 0 && !config.InsecureSkipVerify {
handshake_client.go#L73: serverName: hostnameInSNI(config.ServerName),
handshake_client.go#L287: if err := serverCert.VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L840: DNSName: c.config.ServerName,
handshake_client.go#L965: if len(config.ServerName) > 0 {
handshake_client.go#L966: return config.ServerName
tls.go#L159: if config.ServerName == "" {
tls.go#L162: c.ServerName = hostname
github.com/go-redis/redis/v8
options.go#L239: o.TLSConfig = &tls.Config{ServerName: h}
github.com/jackc/pgconn
config.go#L609: tlsConfig.ServerName = host
github.com/lib/pq
ssl.go#L46: tlsConf.ServerName = o["host"]
golang.org/x/net/http2
transport.go#L587: if cfg.ServerName == "" {
transport.go#L588: cfg.ServerName = host
transport.go#L609: if err := cn.VerifyHostname(cfg.ServerName); err != nil {
google.golang.org/grpc/credentials
tls.go#L69: ServerName: c.config.ServerName,
tls.go#L76: if cfg.ServerName == "" {
tls.go#L82: cfg.ServerName = serverName
tls.go#L137: c.config.ServerName = serverNameOverride
tls.go#L157: return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp})
tls.go#L177: return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp}), nil
net/http
h2_bundle.go#L7090: if cfg.ServerName == "" {
h2_bundle.go#L7091: cfg.ServerName = host
h2_bundle.go#L7112: if err := cn.VerifyHostname(cfg.ServerName); err != nil {
transport.go#L1511: if cfg.ServerName == "" {
transport.go#L1512: cfg.ServerName = name
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |