DisconnectReason communicates the reason why a connection is being closed.
A zero value stands for "no reason" / NA.
This is an EXPERIMENTAL type. It will change in the future. Refer to the
connmgr.ConnectionGater godoc for more info.
func github.com/libp2p/go-libp2p/core/connmgr.ConnectionGater.InterceptUpgraded(network.Conn) (allow bool, reason DisconnectReason)
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.