Make WebRTCPeer and Peers not inherit the methods of BytesLogger.

You would have been able to do, for example,
snowflake.(*WebRTCPeer).AddInbound(...).
This commit is contained in:
David Fifield 2020-04-23 21:08:01 -06:00
parent 65ecb798ca
commit d376d7036b
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ import (
// version of Snowflake)
type Peers struct {
Tongue
BytesLogger
BytesLogger BytesLogger
snowflakeChan chan Snowflake
activePeers *list.List