add gitea sig header check, add Json errors, begin AppState

This commit is contained in:
2026-05-31 20:32:49 +00:00
parent c119bed142
commit aa746f357d
10 changed files with 288 additions and 37 deletions
+11 -3
View File
@@ -1,5 +1,13 @@
use crate::gitea::WebhookType;
use crate::{env::EnvConfig, gitea::WebhookType};
pub async fn exec(webhook: WebhookType) {
pub struct Bot {
config: EnvConfig,
}
}
impl Bot {
pub fn new(config: EnvConfig) -> Self {
Self { config }
}
pub async fn exec(&self, webhook: WebhookType) {}
}