mirror of
https://github.com/katanemo/plano.git
synced 2026-05-21 13:55:15 +02:00
refactor a bit to send filters instead of agents
This commit is contained in:
parent
692499d910
commit
8c71acfc76
5 changed files with 34 additions and 16 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue