mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-18 07:47:22 +08:00
add feature flag to ospf route
This commit is contained in:
@@ -84,6 +84,10 @@ impl ServiceRegistry {
|
||||
self.table.remove(&key).map(|_| ())
|
||||
}
|
||||
|
||||
pub fn unregister_by_domain(&self, domain_name: &str) {
|
||||
self.table.retain(|k, _| k.domain_name != domain_name);
|
||||
}
|
||||
|
||||
pub async fn call_method(
|
||||
&self,
|
||||
rpc_desc: RpcDescriptor,
|
||||
|
||||
Reference in New Issue
Block a user