syncthing/lib/relay
Jakob Borg 596a49c112 Invert initialization dependence on relay/conns
This makes it so we can initialize the relay management and then give
that to the connection management, instead of the other way around.

This is important to me in the discovery revamp I'm doing, as otherwise
I get a circular dependency when constructing stuff, with relaying
depending on connection, connection depending on discovery, and
discovery depending on relaying.

With this fixed, discovery will depend on relaying, and connection will
depend on both discovery and relaying.
2015-09-14 10:21:55 +02:00
..
debug.go Expose connection type and relay status in the UI 2015-08-19 21:11:55 +01:00
relay.go Invert initialization dependence on relay/conns 2015-09-14 10:21:55 +02:00