github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/net/http/h2_bundle.go (about) 1 //go:build !nethttpomithttp2 2 3 // Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT. 4 // $ bundle -o=h2_bundle.go -prefix=http2 -tags=!nethttpomithttp2 golang.org/x/net/http2 5 6 // Package http2 implements the HTTP/2 protocol. 7 // 8 // This package is low-level and intended to be used directly by very 9 // few people. Most users will use it indirectly through the automatic 10 // use by the net/http package (from Go 1.6 and later). 11 // For use in earlier Go versions see ConfigureServer. (Transport support 12 // requires Go 1.6 or later) 13 // 14 // See https://http2.github.io/ for more information on HTTP/2. 15 // 16 // See https://http2.golang.org/ for a test server running this code. 17 // 18 // Copyright 2024 The Go Authors. All rights reserved. 19 // Use of this source code is governed by a BSD-style 20 // license that can be found in the LICENSE file. 21 // 22 23 package http 24 25 var ( 26 _ http2clientConnPoolIdleCloser = (*http2clientConnPool)(nil) 27 _ http2clientConnPoolIdleCloser = http2noDialClientConnPool{} 28 ) 29 30 // Optional http.ResponseWriter interfaces implemented. 31 var ( 32 _ CloseNotifier = (*http2responseWriter)(nil) 33 _ Flusher = (*http2responseWriter)(nil) 34 _ http2stringWriter = (*http2responseWriter)(nil) 35 ) 36 37 var _ Pusher = (*http2responseWriter)(nil)