AppFlowy/rust-lib/flowy-user/src/module.rs
2021-06-29 16:52:29 +08:00

11 lines
267 B
Rust

use crate::{event::UserEvent::*, handlers::*};
use flowy_sys::prelude::*;
pub fn create() -> Module {
Module::new()
.event(AuthCheck, user_check)
.event(SignIn, user_check)
.event(SignUp, user_check)
.event(SignOut, user_check)
}