senax 0.3.21

Senax Web Server Code Generator
1
2
3
4
5
6
7
8
9
use async_trait::async_trait;

// An example of uses of services 
#[cfg_attr(any(feature = "mock", test), mockall::automock)]
#[async_trait]
pub trait Notify {
    async fn register_user(&self, user_name: &str, email: &str);
}
@{-"\n"}@