diplonat/src/consul_actor.rs

16 lines
217 B
Rust
Raw Normal View History

2020-05-22 09:34:12 +00:00
use crate::consul::Consul;
use tokio::sync::watch;
pub struct ConsulActor {
consul: Consul
out:
}
impl ConsulActor {
fn new(url: &str) -> Self {
return Self {
consul: Consul::new(url);
};
}
}