mirror of
https://github.com/go-i2p/go-gitlooseleaf.git
synced 2025-12-01 09:54:59 -05:00
remove dialer from README
This commit is contained in:
10
README.md
10
README.md
@@ -55,17 +55,9 @@ func MultiGetListener(network, address string) (net.Listener, error) {
|
||||
}
|
||||
|
||||
// We use `init() to ensure that the appropriate Listeners and Dialers are correctly placed at runtime
|
||||
// We use `init() to ensure that the I2P Listeners and Dialers are correctly placed at runtime`
|
||||
func init() {
|
||||
GetListener = MultiGetListener
|
||||
/*httpClient := &http.Client{
|
||||
Transport: &http.Transport{
|
||||
Dial: garlic.Dial,
|
||||
},
|
||||
}
|
||||
|
||||
http.DefaultClient = httpClient
|
||||
http.DefaultTransport = httpClient.Transport*/
|
||||
/*Dialer not shown here*/
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user