initial commit
This commit is contained in:
17
src/api/repo.rs
Normal file
17
src/api/repo.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
use crate::query;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct List;
|
||||
|
||||
impl query::QueryFn for List {
|
||||
type Data = ();
|
||||
type Error = ();
|
||||
|
||||
fn key(&self) -> &'static str {
|
||||
"repo.list"
|
||||
}
|
||||
|
||||
async fn run(&self) -> Result<Self::Data, Self::Error> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user