1
0
mirror of https://github.com/libp2p/go-libp2p-core.git synced 2025-03-22 12:20:07 +08:00
go-libp2p-core/event/routability.go

14 lines
310 B
Go
Raw Normal View History

package event
import (
"github.com/libp2p/go-libp2p-core/network"
)
// EvtLocalRoutability is an event struct to be emitted with the local's node
// routability changes state.
//
// This event is usually emitted by the AutoNAT subsystem.
type EvtLocalRoutability struct {
Routability network.Routability
}