mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
remove unused StreamCallback
This commit is contained in:
parent
5029ab0934
commit
824f122a79
7 changed files with 13 additions and 43 deletions
|
@ -44,7 +44,7 @@ func (s *mockSession) RemoteAddr() net.Addr {
|
|||
|
||||
var _ Session = &mockSession{}
|
||||
|
||||
func newMockSession(conn connection, v protocol.VersionNumber, connectionID protocol.ConnectionID, sCfg *handshake.ServerConfig, streamCallback StreamCallback, closeCallback closeCallback) (packetHandler, error) {
|
||||
func newMockSession(conn connection, v protocol.VersionNumber, connectionID protocol.ConnectionID, sCfg *handshake.ServerConfig, closeCallback closeCallback) (packetHandler, error) {
|
||||
return &mockSession{
|
||||
connectionID: connectionID,
|
||||
}, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue