Remove SnowflakeDataChannel interface.

Use *webrtc.DataChannel directly.
This commit is contained in:
David Fifield 2020-04-24 14:41:19 -06:00
parent 32207d6f06
commit 8caa737700
2 changed files with 2 additions and 9 deletions

View file

@ -1,7 +1,6 @@
package lib
import (
"io"
"net"
)
@ -30,9 +29,3 @@ type SocksConnector interface {
Reject() error
net.Conn
}
// Interface for the Snowflake's transport. (Typically just webrtc.DataChannel)
type SnowflakeDataChannel interface {
io.Closer
Send([]byte) error
}