make Listener a struct, not an interface

This commit is contained in:
Marten Seemann
2023-03-22 12:51:29 +13:00
parent 2a03c6cd79
commit 1b64b13750
16 changed files with 53 additions and 37 deletions

View File

@@ -15,7 +15,7 @@ import (
)
var _ = Describe("non-zero RTT", func() {
runServer := func() quic.Listener {
runServer := func() *quic.Listener {
ln, err := quic.ListenAddr(
"localhost:0",
getTLSConfig(),