forked from Deuxfleurs/diplonat
16 lines
217 B
Rust
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);
|
||
|
};
|
||
|
}
|
||
|
}
|