Stop exporting code that should be internal

This commit is contained in:
Cecylia Bocovich 2021-09-09 11:34:07 -04:00
parent 4396d505a3
commit 624750d5a8
7 changed files with 44 additions and 56 deletions

View file

@ -21,7 +21,7 @@ import (
// version of Snowflake)
type Peers struct {
Tongue
BytesLogger BytesLogger
bytesLogger bytesLogger
snowflakeChan chan *WebRTCPeer
activePeers *list.List
@ -88,7 +88,7 @@ func (p *Peers) Pop() *WebRTCPeer {
continue
}
// Set to use the same rate-limited traffic logger to keep consistency.
snowflake.BytesLogger = p.BytesLogger
snowflake.bytesLogger = p.bytesLogger
return snowflake
}
}