1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::time::Duration;

// Config is used to configure a mDNS client or server.
#[derive(Default, Debug)]
pub struct Config {
    // query_interval controls how often we sends Queries until we
    // get a response for the requested name
    pub query_interval: Duration,

    // local_names are the names that we will generate answers for
    // when we get questions
    pub local_names: Vec<String>,
    //LoggerFactory logging.LoggerFactory
}