summaryrefslogtreecommitdiff
path: root/transports
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2015-03-16 19:43:02 +0100
committerDaniel Martí <mvdan@mvdan.cc>2015-03-16 19:43:02 +0100
commit08647ec58034ecdc4ea60e7eb37c9e91fff784d6 (patch)
tree3e8cd30ef8e58d1bc729e47a2b1b2b9572901aa5 /transports
parent714581df514c74199c47451a2bc3a51cb34ccabd (diff)
Run go fmt
Diffstat (limited to 'transports')
-rw-r--r--transports/obfs2/obfs2.go2
-rw-r--r--transports/obfs3/obfs3.go1
2 files changed, 1 insertions, 2 deletions
diff --git a/transports/obfs2/obfs2.go b/transports/obfs2/obfs2.go
index 3490646..ad15671 100644
--- a/transports/obfs2/obfs2.go
+++ b/transports/obfs2/obfs2.go
@@ -46,7 +46,7 @@ import (
)
const (
- transportName = "obfs2"
+ transportName = "obfs2"
sharedSecretArg = "shared-secret"
clientHandshakeTimeout = time.Duration(30) * time.Second
diff --git a/transports/obfs3/obfs3.go b/transports/obfs3/obfs3.go
index 7844443..dd9281b 100644
--- a/transports/obfs3/obfs3.go
+++ b/transports/obfs3/obfs3.go
@@ -351,7 +351,6 @@ func (conn *obfs3Conn) Write(b []byte) (n int, err error) {
return conn.tx.Write(b)
}
-
var _ base.ClientFactory = (*obfs3ClientFactory)(nil)
var _ base.ServerFactory = (*obfs3ServerFactory)(nil)
var _ base.Transport = (*Transport)(nil)