checkpoint: integrate authenticated transports
This commit is contained in:
1 parent
313ab00765
commit
586ff8f223
42 files changed
+6277
-771
No files matched your search
+6
-16
@@ -1,18 +1,4 @@
|
||||
#[path = "../src/config.rs"]
|
||||
mod config;
|
||||
#[path = "../src/datagram.rs"]
|
||||
mod datagram;
|
||||
#[path = "../src/protocol/mod.rs"]
|
||||
mod protocol;
|
||||
#[path = "../src/stats.rs"]
|
||||
mod stats;
|
||||
#[path = "../src/client/supervisor.rs"]
|
||||
mod supervisor;
|
||||
#[path = "../src/transport/mod.rs"]
|
||||
mod transport;
|
||||
|
||||
use bytes::Bytes;
|
||||
use config::{Config, TransportMode};
|
||||
use std::{
|
||||
sync::{
|
||||
atomic::{AtomicUsize, Ordering},
|
||||
@@ -20,9 +6,13 @@ use std::{
|
||||
},
|
||||
time::Duration,
|
||||
};
|
||||
use supervisor::{ProbeFuture, TransportProbe, TransportSupervisor};
|
||||
use tokio::{sync::Mutex, time::timeout};
|
||||
use transport::{TransportError, TransportFuture, TransportSession};
|
||||
use wgcloak::{
|
||||
client::supervisor::{self as supervisor, ProbeFuture, TransportProbe, TransportSupervisor},
|
||||
config::{self, Config, TransportMode},
|
||||
protocol,
|
||||
transport::{TransportError, TransportFuture, TransportSession},
|
||||
};
|
||||
|
||||
struct Session;
|
||||
impl TransportSession for Session {
|
||||
|
||||
Reference in new issue
Block a user