move and reorganize sending codepaths; no functional changes

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-03-30 00:30:26 -07:00 committed by June
parent a72ea54d11
commit 3c09313f79
6 changed files with 791 additions and 782 deletions

View file

@ -13,7 +13,7 @@ use ruma::OwnedServerName;
use tokio::sync::RwLock;
use tracing::error;
use crate::{api::server_server::FedDest, Config, Error};
use crate::{service::sending::FedDest, Config, Error};
pub type WellKnownMap = HashMap<OwnedServerName, (FedDest, String)>;
pub type TlsNameMap = HashMap<String, (Vec<IpAddr>, u16)>;