Move files from protocol to appropriate module

Some network and application specific code does not belong in the protocol module and was moved.
Eventloop, recovery and the outside behaviour were moved to the respective application module because they are application specific.

The `swap_setup` was moved into the network module because upon change both sides will have to be changed and should thus stay close together.
This commit is contained in:
Daniel Karzel 2021-06-25 13:40:33 +10:00
parent 818147a629
commit c0070f8fa7
No known key found for this signature in database
GPG key ID: 30C3FC2E438ADB6E
46 changed files with 161 additions and 145 deletions

View file

@ -1,3 +1,12 @@
mod behaviour;
pub mod cancel;
pub mod command;
mod event_loop;
pub mod refund;
pub mod tracing;
pub mod transport;
pub use behaviour::{Behaviour, OutEvent};
pub use cancel::cancel;
pub use event_loop::{EventLoop, EventLoopHandle};
pub use refund::refund;