Source File
reachability.go
Belonging Package
github.com/libp2p/go-libp2p/core/event
package eventimport (ma)// 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}// EvtHostReachableAddrsChanged is sent when host's reachable or unreachable addresses change// Reachable, Unreachable, and Unknown only contain Public IP or DNS addresses//// Experimental: This API is unstable. Any changes to this event will be done without a deprecation notice.type EvtHostReachableAddrsChanged struct {Reachable []ma.MultiaddrUnreachable []ma.MultiaddrUnknown []ma.Multiaddr}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |