libp2p / go-libp2p-examples

Example libp2p applications
MIT License
338 stars 145 forks source link

/root/go/src/github.com/libp2p/go-reuseport/impl_wasm.go:26:18: available redeclared in this block #39

Closed hktalent closed 5 years ago

hktalent commented 5 years ago
#ls
proxy.go  README.md

#CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o http-proxy proxy.go
# github.com/libp2p/go-reuseport
/root/go/src/github.com/libp2p/go-reuseport/impl_wasm.go:10:53: listen redeclared in this block
    previous declaration at /root/go/src/github.com/libp2p/go-reuseport/impl_unix.go:211:45
/root/go/src/github.com/libp2p/go-reuseport/impl_wasm.go:14:56: listenPacket redeclared in this block
    previous declaration at /root/go/src/github.com/libp2p/go-reuseport/impl_unix.go:291:61
/root/go/src/github.com/libp2p/go-reuseport/impl_wasm.go:18:53: listenStream redeclared in this block
    previous declaration at /root/go/src/github.com/libp2p/go-reuseport/impl_unix.go:260:59
/root/go/src/github.com/libp2p/go-reuseport/impl_wasm.go:22:87: dial redeclared in this block
    previous declaration at /root/go/src/github.com/libp2p/go-reuseport/impl_unix.go:62:87
/root/go/src/github.com/libp2p/go-reuseport/impl_wasm.go:26:18: available redeclared in this block
    previous declaration at /root/go/src/github.com/libp2p/go-reuseport/available_unix.go:23:18
anacrolix commented 5 years ago

You'll require Go 1.11. Please reopen if this is not the case.