-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from libp2p/feat/single-routability-event
Switch to a single routability event
- Loading branch information
Showing
3 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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 | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters