diff options
author | Robin Tarsiger <rtarsiger@dasyatidae.com> | 2016-04-03 15:02:47 -0500 |
---|---|---|
committer | Robin Tarsiger <rtarsiger@dasyatidae.com> | 2016-04-03 15:14:08 -0500 |
commit | 49f19c6612091ba54a6cf5eb71868bb67fc62d1d (patch) | |
tree | de9fadeda05e5d95694ad6297430bc2df388fab0 | |
parent | 6cb9b5a231d7f41e409daa012ee7d50a52c65daa (diff) |
Explicitly import proxy dialers for side effects
These register themselves at init time. Previously they were in the
main package and thus did not need to be explicitly imported.
-rw-r--r-- | obfs4proxy/obfs4proxy.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/obfs4proxy/obfs4proxy.go b/obfs4proxy/obfs4proxy.go index 6673713..cad1cdd 100644 --- a/obfs4proxy/obfs4proxy.go +++ b/obfs4proxy/obfs4proxy.go @@ -47,6 +47,9 @@ import ( "github.com/OperatorFoundation/obfs4/modes/pt_socks5" "github.com/OperatorFoundation/obfs4/modes/transparent_tcp" "github.com/OperatorFoundation/obfs4/modes/transparent_udp" + + _ "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4" + _ "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http" ) const ( |