blob: 0f09851c9da2b8e29449d6c5321454449cde2dc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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);
};
}
}
|