mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
This CL adds RegisterServer and RegisterTransport, which are used to plug our HTTP/3 implementation into net/http. For now, (inaccurately) assume that RegisterTransport do not take any configs for simplicity. Various exported symbols have also been changed to be unexported, since HTTP/3 will be used only via net/http and will not support direct usage. For golang/go#77440 Change-Id: I7b9528c193c18f5049da7f497d4259153b8770eb Reviewed-on: https://go-review.googlesource.com/c/net/+/739881 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicholas Husin <husin@google.com>