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

This commit is contained in:
qpismont committed 2026-05-31 20:32:49 +00:00
1 parent c119bed142
commit aa746f357d
10 files changed
+288 -37

No files matched your search

+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) {}
}