mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-06 21:57:36 +03:00
make stream private
This commit is contained in:
parent
a79f7c4dc6
commit
23a1e08e90
7 changed files with 155 additions and 146 deletions
|
@ -8,6 +8,7 @@ import (
|
|||
|
||||
"github.com/lucas-clemente/quic-go/frames"
|
||||
"github.com/lucas-clemente/quic-go/protocol"
|
||||
"github.com/lucas-clemente/quic-go/utils"
|
||||
)
|
||||
|
||||
var _ = Describe("Session", func() {
|
||||
|
@ -19,8 +20,8 @@ var _ = Describe("Session", func() {
|
|||
BeforeEach(func() {
|
||||
callbackCalled = false
|
||||
session = &Session{
|
||||
streams: make(map[protocol.StreamID]*Stream),
|
||||
streamCallback: func(*Session, *Stream) { callbackCalled = true },
|
||||
streams: make(map[protocol.StreamID]*stream),
|
||||
streamCallback: func(*Session, utils.Stream) { callbackCalled = true },
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue