mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Simplify proxy poll handler, and broker match test
This commit is contained in:
parent
9fd471b4c4
commit
791f6925ec
3 changed files with 74 additions and 52 deletions
|
@ -4,6 +4,10 @@ Keeping track of pending available snowflake proxies.
|
|||
|
||||
package snowflake_broker
|
||||
|
||||
/*
|
||||
The Snowflake struct contains a single interaction
|
||||
over the offer and answer channels.
|
||||
*/
|
||||
type Snowflake struct {
|
||||
id string
|
||||
offerChannel chan []byte
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue