This commit is contained in:
parent
cf98c93a89
commit
01bc71ab86
@ -15,8 +15,11 @@ pub struct Target {
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Config {
|
||||
#[cfg(feature = "consul")]
|
||||
pub consul: Option<bool>,
|
||||
#[cfg(feature = "consul")]
|
||||
pub consul_http_addr: Option<String>,
|
||||
#[cfg(feature = "consul")]
|
||||
pub consul_http_token: Option<String>,
|
||||
mappings: Vec<Target>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user