From e1d0eadb9dc5e2e3bea8bc48f7b33ad9ef632554 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 22 May 2020 18:41:13 +0200 Subject: WIP software --- src/node_state.rs | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/node_state.rs (limited to 'src/node_state.rs') diff --git a/src/node_state.rs b/src/node_state.rs deleted file mode 100644 index ecf7484..0000000 --- a/src/node_state.rs +++ /dev/null @@ -1,25 +0,0 @@ -pub struct NodeState { - pub consul_node_name: Option, - pub consul_url: Option, - - pub refresh_time: Option, - pub expiration_time: Option, - - pub public_ip: Option, - pub private_ip: Option, - pub public_ports: Vec, -} - -impl NodeState { - pub fn new() -> Self { - return Self { - consul_node_name: None, - consul_url: None, - refresh_time: None, - expiration_time: None, - public_ip: None, - private_ip: None, - public_ports: Vec::new() - }; - } -} -- cgit v1.2.3