refactor a bit to send filters instead of agents

This commit is contained in:
Adil Hafeez 2026-03-12 13:26:19 -07:00
parent 692499d910
commit 8c71acfc76
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
5 changed files with 34 additions and 16 deletions

View file

@ -43,6 +43,8 @@ pub struct Listener {
pub agents: Option<Vec<AgentFilterChain>>,
pub filter_chain: Option<Vec<String>>,
pub port: u16,
#[serde(skip)]
pub filter_agents: Option<HashMap<String, Agent>>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]