Simplify proxy poll handler, and broker match test

This commit is contained in:
Serene Han 2016-02-16 20:50:00 -08:00
parent 9fd471b4c4
commit 791f6925ec
3 changed files with 74 additions and 52 deletions

View file

@ -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