generated from PlexSheep/rs-base
25 lines
426 B
Rust
25 lines
426 B
Rust
|
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!()
|
||
|
}
|
||
|
}
|