1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

add icap kaspersky mode

This commit is contained in:
Robin Appelman 2022-03-21 19:51:51 +01:00
commit 8cf5d273c2
3 changed files with 103 additions and 2 deletions

View file

@ -6,7 +6,7 @@ mod push;
mod smb;
use crate::config::HazeConfig;
use crate::service::kaspersky::Kaspersky;
use crate::service::kaspersky::{Kaspersky, KasperskyIcap};
pub use crate::service::ldap::{LDAPAdmin, LDAP};
pub use crate::service::objectstore::ObjectStore;
pub use crate::service::onlyoffice::OnlyOffice;
@ -75,6 +75,7 @@ pub enum Service {
Push(NotifyPush),
Smb(Smb),
Kaspersky(Kaspersky),
KasperskyIcap(KasperskyIcap),
}
impl Service {
@ -87,6 +88,7 @@ impl Service {
"push" => Some(&[Service::Push(NotifyPush)]),
"smb" => Some(&[Service::Smb(Smb)]),
"kaspersky" => Some(&[Service::Kaspersky(Kaspersky)]),
"kaspersky-icap" => Some(&[Service::KasperskyIcap(KasperskyIcap)]),
_ => None,
}
}