feat: send events from gateway to bot over http

This commit is contained in:
alyssa 2025-04-04 11:06:16 +00:00
parent a72afb35a0
commit 2578eb0e3c
8 changed files with 134 additions and 15 deletions

View file

@ -33,7 +33,7 @@ impl RuntimeConfig {
settings.insert(key, value);
}
info!("starting with runtime config: {:?}", self.settings);
info!("starting with runtime config: {:?}", settings);
Ok(())
}
@ -58,8 +58,8 @@ impl RuntimeConfig {
Ok(())
}
pub async fn get(&self, key: String) -> Option<String> {
self.settings.read().await.get(&key).cloned()
pub async fn get(&self, key: &str) -> Option<String> {
self.settings.read().await.get(key).cloned()
}
pub async fn exists(&self, key: &str) -> bool {