kjuulh
74ea9ddf79
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
20 lines
332 B
Rust
20 lines
332 B
Rust
use std::sync::Arc;
|
|
|
|
use services::InMemoryDownloadService;
|
|
|
|
pub mod services;
|
|
mod youtube;
|
|
|
|
#[allow(dead_code)]
|
|
pub struct App {
|
|
pub download_service: Arc<InMemoryDownloadService>,
|
|
}
|
|
|
|
impl App {
|
|
pub fn new() -> Self {
|
|
Self {
|
|
download_service: Arc::new(InMemoryDownloadService::new()),
|
|
}
|
|
}
|
|
}
|