initial commit
This commit is contained in:
parent
8a427950ee
commit
819b944a46
12 changed files with 653 additions and 0 deletions
13
src/config.rs
Normal file
13
src/config.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
use crate::globals::Globals;
|
||||
|
||||
#[cfg(feature = "tls")]
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub fn parse_opts(globals: &mut Globals) {
|
||||
#[cfg(feature = "tls")]
|
||||
{
|
||||
// TODO:
|
||||
globals.tls_cert_path = Some(PathBuf::from(r"localhost.pem"));
|
||||
globals.tls_cert_key_path = Some(PathBuf::from(r"localhost.pem"));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue