prololo-reborn/src/webhooks.rs
2021-09-12 19:17:13 +02:00

10 lines
214 B
Rust

mod github;
pub use github::{github_webhook, GitHubEvent};
use tokio::sync::mpsc::UnboundedSender;
pub struct EventSender(pub UnboundedSender<Event>);
#[derive(Debug)]
pub enum Event {
GitHub(GitHubEvent),
}