mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 00:02:19 +00:00
17 lines
439 B
Rust
17 lines
439 B
Rust
use crate::{db::DB, users::AuthCache};
|
|
use std::{net::SocketAddr, sync::Arc};
|
|
use windmill_common::db::UserDB;
|
|
|
|
pub struct SmtpServer {
|
|
pub auth_cache: Arc<AuthCache>,
|
|
pub db: DB,
|
|
pub user_db: UserDB,
|
|
pub base_internal_url: String,
|
|
}
|
|
|
|
impl SmtpServer {
|
|
pub async fn start_listener_thread(self: Arc<Self>, _addr: SocketAddr) -> anyhow::Result<()> {
|
|
Err(anyhow::anyhow!("Implementation not open source"))
|
|
}
|
|
}
|