perkeep/pkg/client
mpl b5b668b661 pkg/client: force nil transport when on the browser
Calls to net.Dial* are prohibited with GopherJS. This can happen if the
client's transport is set by the user.

This change forces transportForConfig to return nil when the client
package is compiled with gopherjs, in order to make sure that a call to
newClient returns a client with a nil transport.

Change-Id: I577457bd7d924d31710168086dc2b394df3d1ae0
2018-01-03 16:38:47 +01:00
..
android Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
client.go pkg/client: force nil transport when on the browser 2018-01-03 16:38:47 +01:00
client_js.go pkg/client: force nil transport when on the browser 2018-01-03 16:38:47 +01:00
config.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
config_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
enumerate.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
get.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
ignored_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
remove.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
stat_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
stats.go client: move stats stuff to stats.go 2012-11-07 21:11:12 -06:00
transport_test.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
upload.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
upload_test.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00