aboutsummaryrefslogtreecommitdiff
path: root/src/consul_actor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/consul_actor.rs')
-rw-r--r--src/consul_actor.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/consul_actor.rs b/src/consul_actor.rs
new file mode 100644
index 0000000..0f09851
--- /dev/null
+++ b/src/consul_actor.rs
@@ -0,0 +1,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);
+ };
+ }
+}