mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
README update and go fmt
This commit is contained in:
parent
fa9f58c9ab
commit
fb304c673c
2 changed files with 33 additions and 24 deletions
|
@ -50,6 +50,7 @@ type webRTCConn struct {
|
|||
dc *data.Channel
|
||||
recvPipe *io.PipeReader
|
||||
}
|
||||
|
||||
var webrtcRemote *webRTCConn
|
||||
|
||||
func (c *webRTCConn) Read(b []byte) (int, error) {
|
||||
|
@ -163,7 +164,7 @@ func dialWebRTC(config *webrtc.Configuration) (*webRTCConn, error) {
|
|||
return nil, err
|
||||
case offer := <-blobChan:
|
||||
log.Printf("----------------")
|
||||
fmt.Fprintln(logFile, "\n" + offer + "\n")
|
||||
fmt.Fprintln(logFile, "\n"+offer+"\n")
|
||||
log.Printf("----------------")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue