Function main_test

Source
pub async fn main_test(
    bridge_lines: Vec<String>,
    obfs4_path: &str,
) -> Result<(HashMap<String, BridgeResult>, HashMap<String, Arc<Channel>>), Error>
Expand description

Main function to unite everything together

In summary,

  1. Create the common TorClient which will be used for every connection

  2. Give test_bridges() the bridge lines

  3. Return the results