diplonat/src/consul_actor.rs

16 lines
217 B
Rust

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);
};
}
}