andeya/tp-p2p

error

Closed this issue · 1 comments

when i use this package
$ go get github.com/henrylee2cn/tp-p2p

# github.com/libp2p/go-reuseport
../../../github.com/libp2p/go-reuseport/interface.go:33:20: undefined: net.ListenConfig
../../../github.com/libp2p/go-reuseport/interface.go:41:2: not enough arguments to return
../../../github.com/libp2p/go-reuseport/interface.go:48:2: not enough arguments to return
../../../github.com/libp2p/go-reuseport/interface.go:60:10: unknown field 'Control' in struct literal of type net.Dialer
# github.com/henrylee2cn/tp-ext/plugin-heartbeat
../../../github.com/henrylee2cn/tp-ext/plugin-heartbeat/pong.go:125:2: undefined: tp.PullCt`

Update golang to 1.11 maybe fix i