1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !go1.24 6 7 package http2 8 9 import "net/http" 10 11 // Pre-Go 1.24 fallback. 12 // The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24. 13 14 func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {} 15 16 func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {} 17