package control

Import Path
	github.com/libp2p/go-libp2p/core/control (on go.dev)

Dependency Relation
	imports 0 packages, and imported by 2 packages

Involved Source Files disconnect.go
Package-Level Type Names (only one)
/* sort by: | */
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)