Got a basic working structure in place

This commit is contained in:
Gregory Ballantine
2022-08-31 16:14:41 -04:00
parent 878a22be91
commit 0fa83eff42
6 changed files with 127 additions and 0 deletions

20
src/transcoder.rs Normal file
View File

@@ -0,0 +1,20 @@
use crate::config::Config;
use crate::repository::Repository;
pub struct Transcoder {
config: Config,
repository: Repository,
}
impl Transcoder {
pub fn new(config: Config, repository: Repository) -> Transcoder {
return Transcoder{
config: config,
repository: repository,
}
}
pub fn start(self) {
println!("Starting transcoder...");
}
}