src: move module/mod.rs files to module.rs
This commit is contained in:
parent
93e87e0207
commit
0837b07a9e
3 changed files with 0 additions and 0 deletions
11
src/webhooks.rs
Normal file
11
src/webhooks.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use std::sync::{mpsc::SyncSender};
|
||||
|
||||
mod github;
|
||||
pub use github::{github_webhook, GitHubEvent};
|
||||
|
||||
pub struct EventSender(pub SyncSender<Event>);
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Event {
|
||||
GitHub(GitHubEvent),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue