Commit Graph

17 Commits

Author SHA1 Message Date
vyzo
ca38e17432 mind the dot.
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
2021-02-19 12:32:44 +02:00
vyzo
29aaf384cf context option for simultaneous connect 2021-02-19 12:32:44 +02:00
Aarsh Shah
412dbb3544
Event for user's NAT Device Type: Tell user if the node is behind an Easy or Hard NAT (#173)
* event for NAT device type


Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2021-02-18 14:17:27 +05:30
vyzo
faf23c3b17 address aarshian nitpicks 2021-02-17 11:25:32 +02:00
vyzo
980a554aa5 make UseTransient context option take a reason argument, for consistency with other options 2021-02-17 11:25:32 +02:00
vyzo
a21b06e646 abstract Conn Stat interface for threading 2021-02-17 11:25:32 +02:00
vyzo
ac2ecf385a Update network/context.go
Co-authored-by: Yusef Napora <yusef@protocol.ai>
2021-02-17 11:25:32 +02:00
vyzo
8e949a777f add ErrTransientConn error 2021-02-17 11:25:32 +02:00
vyzo
7eee7c00a6 add support for transient connections 2021-02-17 11:25:32 +02:00
Aarsh Shah
6cea734154
context to force direct dial (#181) 2021-02-15 13:20:04 +05:30
Marten Seemann
83ac1d370d
add a context to OpenStream and NewStream (#172)
* add a context to MuxedConn.OpenStream

* add a context to Conn.NewStream
2020-12-19 09:36:59 +07:00
Raúl Kripalani
21efed7519
experimental introspection support (#159)
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2020-06-05 12:24:56 +01:00
Raúl Kripalani
9d35da1374
implement Stringer for network.{Direction,Connectedness,Reachability}. (#150) 2020-05-14 17:16:17 +01:00
Steven Allen
4cb536b589 fix: use correct reachability type 2020-04-13 10:42:57 -07:00
Steven Allen
e5f43bb541 rename routability -> reachability 2020-03-04 12:43:11 -08:00
Steven Allen
8157087fc9 feat: switch to a single routability event
This means we can make the event _stateful_ so subscribing always gives us the
last state.
2020-03-04 11:35:48 -08:00
Raúl Kripalani
6e566d10f4
Absorb go-libp2p abstractions and core types into this module (#1) 2019-05-22 18:31:11 +01:00