outbox-pattern-processor 0.3.6

Library to make easier to dispatch your outbox-pattern data from database to SQS, SNS and/or HTTP(S) gateways
Documentation
1
2
3
4
5
6
7
8
9
use crate::outbox::Outbox;
use std::collections::HashMap;

#[derive(Clone, Default)]
pub struct GroupedOutboxed {
    pub sqs: HashMap<String, Vec<Outbox>>,
    pub sns: HashMap<String, Vec<Outbox>>,
    pub http: Vec<Outbox>,
}