wip builder stub

This commit is contained in:
Jun Kurihara 2024-05-28 03:36:05 +09:00
commit b168d1cdc5
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 33 additions and 1 deletions

View file

@ -14,6 +14,7 @@ use std::sync::Arc;
/// TODO: support for not only `CryptoFileSource` but also other type of sources
type DynCryptoSource = dyn CryptoSource<Error = RpxyCertError> + Send + Sync + 'static;
#[derive(Clone)]
/// Reloader service for certificates and keys for TLS
pub struct CryptoReloader {
inner: HashMap<ServerNameBytes, Arc<Box<DynCryptoSource>>>,