mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-27 23:40:11 +08:00
14 lines
329 B
Go
14 lines
329 B
Go
|
package event
|
||
|
|
||
|
import (
|
||
|
"github.com/libp2p/go-libp2p-core/network"
|
||
|
)
|
||
|
|
||
|
// EvtLocalReachabilityChanged is an event struct to be emitted when the local's
|
||
|
// node reachability changes state.
|
||
|
//
|
||
|
// This event is usually emitted by the AutoNAT subsystem.
|
||
|
type EvtLocalReachabilityChanged struct {
|
||
|
Reachability network.Reachability
|
||
|
}
|