mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Stop exporting code that should be internal
This commit is contained in:
parent
4396d505a3
commit
624750d5a8
7 changed files with 44 additions and 56 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue