You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
encrypted-dns-server/src/globals.rs

16 lines
341 B
Rust

use crate::crypto::*;
use crate::dnscrypt_certs::*;
use std::net::SocketAddr;
use std::sync::Arc;
use tokio::runtime::Runtime;
#[derive(Debug)]
pub struct Globals {
pub runtime: Arc<Runtime>,
pub resolver_kp: SignKeyPair,
pub dnscrypt_certs: Vec<DNSCryptCert>,
pub provider_name: String,
pub listen_addr: SocketAddr,
}