20 lines
409 B
Rust
20 lines
409 B
Rust
use anyhow::Result;
|
|
|
|
use crate::config::PfSenseConfig;
|
|
|
|
#[derive(Clone)]
|
|
pub struct PfSenseService {
|
|
config: PfSenseConfig,
|
|
}
|
|
|
|
impl PfSenseService {
|
|
pub fn new(config: PfSenseConfig) -> Self {
|
|
Self { config }
|
|
}
|
|
|
|
pub async fn push_static_mapping(&self) -> Result<()> {
|
|
tracing::debug!(endpoint = %self.config.api_endpoint, "pfSense mapping placeholder");
|
|
Ok(())
|
|
}
|
|
}
|