remove unneeded function from the crypto stream interface

This commit is contained in:
Marten Seemann
2017-12-10 18:57:32 +07:00
parent 3d47284e1c
commit cd5e7ae177
10 changed files with 134 additions and 39 deletions

View File

@@ -19,7 +19,7 @@ import (
// packetHandler handles packets
type packetHandler interface {
Session
getCryptoStream() cryptoStream
getCryptoStream() cryptoStreamI
handshakeStatus() <-chan handshakeEvent
handlePacket(*receivedPacket)
GetVersion() protocol.VersionNumber