Add api backend
This commit is contained in:
parent
0f48c86007
commit
fbb8e54c0b
|
@ -0,0 +1,11 @@
|
|||
#[derive(Clone)]
|
||||
pub struct AxumBackendSettings {
|
||||
pub addr: SocketAddr,
|
||||
pub handle: OverwatchHandle,
|
||||
}
|
||||
|
||||
pub struct AxumBackend<T, S, const SIZE: usize> {
|
||||
settings: AxumBackendSettings,
|
||||
_tx: core::marker::PhantomData<T>,
|
||||
_storage_serde: core::marker::PhantomData<S>,
|
||||
}
|
Loading…
Reference in New Issue