net/http.Server.TLSConfig (field)
16 uses
net/http (current package)
h2_bundle.go#L4129: if s.TLSConfig == nil {
h2_bundle.go#L4130: s.TLSConfig = new(tls.Config)
h2_bundle.go#L4131: } else if s.TLSConfig.CipherSuites != nil && s.TLSConfig.MinVersion < tls.VersionTLS13 {
h2_bundle.go#L4136: for _, cs := range s.TLSConfig.CipherSuites {
h2_bundle.go#L4157: s.TLSConfig.PreferServerCipherSuites = true
h2_bundle.go#L4159: if !http2strSliceContains(s.TLSConfig.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L4160: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
h2_bundle.go#L4162: if !http2strSliceContains(s.TLSConfig.NextProtos, "http/1.1") {
h2_bundle.go#L4163: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, "http/1.1")
server.go#L2900: TLSConfig *tls.Config
server.go#L3267: if srv.TLSConfig == nil {
server.go#L3283: return slices.Contains(srv.TLSConfig.NextProtos, http2NextProtoTLS)
server.go#L3385: config := cloneTLSConfig(srv.TLSConfig)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |