[][src]Function feroxbuster::reporter::initialize

pub fn initialize(
    output_file: &str,
    save_output: bool,
    tx_stats: UnboundedSender<StatCommand>
) -> (UnboundedSender<FeroxResponse>, UnboundedSender<FeroxResponse>, JoinHandle<()>, Option<JoinHandle<()>>)

Creates all required output handlers (terminal, file) and returns the transmitter sides of each mpsc along with each receiver's future's JoinHandle to be awaited

Any other module that needs to write a Response to stdout or output results to a file should be passed a clone of the appropriate returned transmitter