framework-cqrs-lib 0.3.1

handle state-machine with data persist in journal and store mongo for restfull actix api
Documentation
1
2
3
4
5
use crate::cqrs::infra::daos::dbos::{EntityDBO, EventDBO};
use crate::cqrs::infra::daos::mongo_dao::MongoDAO;

pub type EntityMongoDAO<DATADBO> = MongoDAO<EntityDBO<DATADBO, String>>;
pub type EventMongoDAO<EVENTDBO> = MongoDAO<EventDBO<EVENTDBO, String>>;