David Fifield
3520f4e8b9
Simplify Peers.Pop.
2020-04-24 15:45:15 -06:00
David Fifield
d376d7036b
Make WebRTCPeer and Peers not inherit the methods of BytesLogger.
...
You would have been able to do, for example,
snowflake.(*WebRTCPeer).AddInbound(...).
2020-04-23 21:38:44 -06:00
David Fifield
f1ab65b1c0
Close the melt channel, don't just send once on it.
...
Closing the channel makes it always immediately selectable.
2020-01-23 11:24:00 -07:00
David Fifield
d6467ff585
Formatting improvements.
2020-01-23 10:43:31 -07:00
Shane Howearth
8bbdb3b51a
Bring code into line with Golangci-lint linters
...
- Error strings are no longer capitalized nor end with punctuation
- Alias import
- Remove extraneous initilisation code (No need to provide zero value
for variables, because the compiler does that anyway)
2019-10-08 10:25:44 -04:00
Arlo Breault
cce7ee64a7
Start refactoring out a client and library
2018-11-20 22:38:02 -05:00