ceremonyclient/go-libp2p/core/event/reachability.go

14 lines
329 B
Go
Raw Normal View History

2023-08-21 03:50:38 +00:00
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
}