don't panic 🤓

fixes #93
This commit is contained in:
Lucas Clemente 2016-05-18 18:29:42 +02:00
parent 3dc50821d6
commit 7a97f34fac
15 changed files with 71 additions and 39 deletions

View file

@ -25,10 +25,10 @@ func (s *mockSession) handlePacket(addr interface{}, hdr *publicHeader, data []b
func (s *mockSession) run() {
}
func newMockSession(conn connection, v protocol.VersionNumber, connectionID protocol.ConnectionID, sCfg *handshake.ServerConfig, streamCallback StreamCallback, closeCallback closeCallback) packetHandler {
func newMockSession(conn connection, v protocol.VersionNumber, connectionID protocol.ConnectionID, sCfg *handshake.ServerConfig, streamCallback StreamCallback, closeCallback closeCallback) (packetHandler, error) {
return &mockSession{
connectionID: connectionID,
}
}, nil
}
var _ = Describe("Server", func() {