blob: 089a5c7d81eabebe44b9485bebcf4c79c76c44b7 (
plain) (
tree)
|
|
use igd::Gateway;
use anyhow::Result;
use crate::*;
pub struct DiplonatContext {
pub config: config::DiplonatConfig,
//pub gateway: igd::Gateway
}
pub fn setup() -> Result<DiplonatContext> {
return Ok(DiplonatContext {
config: config::load_env()?,
//gateway: search_gateway(Default::default()).await
});
}
pub fn dloop() -> bool {
return true;
}
|