mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-26 23:30:27 +08:00
10 lines
296 B
Go
10 lines
296 B
Go
package control
|
|
|
|
// 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.
|
|
type DisconnectReason int
|