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

@@ -14,7 +14,7 @@ import (
)
var _ = Describe("Stream deadline tests", func() {
setup := func() (quic.Listener, quic.Stream, quic.Stream) {
setup := func() (*quic.Listener, quic.Stream, quic.Stream) {
server, err := quic.ListenAddr("localhost:0", getTLSConfig(), getQuicConfig(nil))
Expect(err).ToNot(HaveOccurred())
strChan := make(chan quic.SendStream)