mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 17:58:32 -04:00
Start move to Tokio
This commit is contained in:
parent
f2e6ec1e3f
commit
7693666855
7 changed files with 840 additions and 508 deletions
|
@ -6,7 +6,7 @@ use boringtun::crypto::{X25519PublicKey, X25519SecretKey};
|
|||
use clap::{App, Arg};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub(crate) struct Config {
|
||||
pub struct Config {
|
||||
pub(crate) source_addr: SocketAddr,
|
||||
pub(crate) dest_addr: SocketAddr,
|
||||
pub(crate) private_key: Arc<X25519SecretKey>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue