wip builder stub
This commit is contained in:
parent
e18fafe4e6
commit
b168d1cdc5
3 changed files with 33 additions and 1 deletions
|
|
@ -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>>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue