mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-10-24 00:23:21 +08:00
fix go vet error in proxy example (#1377)
This commit is contained in:
@@ -234,8 +234,7 @@ Usage: Start remote peer first with: ./proxy
|
|||||||
|
|
||||||
Then you can do something like: curl -x "localhost:9900" "http://ipfs.io".
|
Then you can do something like: curl -x "localhost:9900" "http://ipfs.io".
|
||||||
This proxies sends the request through the local peer, which proxies it to
|
This proxies sends the request through the local peer, which proxies it to
|
||||||
the remote peer, which makes it and sends the response back.
|
the remote peer, which makes it and sends the response back.`
|
||||||
`
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
flag.Usage = func() {
|
flag.Usage = func() {
|
||||||
|
Reference in New Issue
Block a user