Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/StatusReporter/
ServiceRegistry.rs

1//! Service-discovery registry - the map of known services
2//! and the schedule on which discovery refreshes it.
3
4use std::collections::HashMap;
5
6use serde::{Deserialize, Serialize};
7
8use crate::IPC::StatusReporter::ServiceInfo;
9
10#[derive(Debug, Clone, Serialize, Deserialize)]
11pub struct Struct {
12	pub services:HashMap<String, ServiceInfo::Struct>,
13
14	pub last_discovery:u64,
15
16	pub discovery_interval:u64,
17}