net/http.Server.TLSConfig (field)
16 uses
net/http (current package)
h2_bundle.go#L4247: if s.TLSConfig == nil {
h2_bundle.go#L4248: s.TLSConfig = new(tls.Config)
h2_bundle.go#L4249: } else if s.TLSConfig.CipherSuites != nil && s.TLSConfig.MinVersion < tls.VersionTLS13 {
h2_bundle.go#L4254: for _, cs := range s.TLSConfig.CipherSuites {
h2_bundle.go#L4275: s.TLSConfig.PreferServerCipherSuites = true
h2_bundle.go#L4277: if !http2strSliceContains(s.TLSConfig.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L4278: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
h2_bundle.go#L4280: if !http2strSliceContains(s.TLSConfig.NextProtos, "http/1.1") {
h2_bundle.go#L4281: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, "http/1.1")
server.go#L2984: TLSConfig *tls.Config
server.go#L3368: if s.TLSConfig == nil {
server.go#L3387: return slices.Contains(s.TLSConfig.NextProtos, http2NextProtoTLS)
server.go#L3489: config := cloneTLSConfig(s.TLSConfig)
![]() |
The pages are generated with Golds v0.8.4. (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. |