autocrate/src/serverapi/gitea.rs

25 lines
426 B
Rust
Raw Normal View History

2024-02-16 20:00:55 +01:00
use async_trait::async_trait;
use super::ServerApi;
use crate::{
config::{ApiType, Config},
error::*,
};
pub struct Gitea;
#[async_trait]
impl ServerApi for Gitea {
async fn init(&mut self, cfg: &Config) -> Result<()> {
todo!()
}
async fn push_release(&mut self) -> Result<()> {
todo!()
}
}
impl Gitea {
pub async fn build(cfg: &Config) -> Result<Self> {
todo!()
}
}