netray_common/ecosystem.rs
1//! Ecosystem service URL configuration shared across netray.info services.
2
3/// URLs for the other services in the netray.info ecosystem.
4///
5/// Each service may expose a subset of these fields. Fields set to `None`
6/// mean the corresponding integration is disabled.
7#[derive(Debug, Clone, Default, serde::Deserialize)]
8pub struct EcosystemConfig {
9 /// Public base URL of the IP enrichment service (ip.netray.info).
10 pub ip_url: Option<String>,
11 /// Public base URL of the DNS inspector service (dns.netray.info).
12 pub dns_url: Option<String>,
13 /// Public base URL of the TLS inspector service (tls.netray.info).
14 pub tls_url: Option<String>,
15}