File size: 246 Bytes
287a0bc
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
use async_trait::async_trait;
pub(crate) mod config;
pub(crate) mod s3;

#[async_trait]
trait Storage {
    async fn get(&self, key: &str, path: &str) -> Result<(), String>;
    async fn put(&self, key: &str, path: &str) -> Result<(), String>;
}