-
-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init backend override with list envelopes and send message
- Loading branch information
Showing
9 changed files
with
152 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use ::serde::{Deserialize, Serialize}; | ||
|
||
use crate::backend::BackendKind; | ||
|
||
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)] | ||
pub struct EnvelopeConfig { | ||
pub list: Option<EnvelopeListConfig>, | ||
} | ||
|
||
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)] | ||
pub struct EnvelopeListConfig { | ||
pub backend: Option<BackendKind>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub mod config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use ::serde::{Deserialize, Serialize}; | ||
|
||
use crate::backend::BackendKind; | ||
|
||
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)] | ||
pub struct MessageConfig { | ||
pub send: Option<MessageSendConfig>, | ||
} | ||
|
||
#[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize, Serialize)] | ||
pub struct MessageSendConfig { | ||
pub backend: Option<BackendKind>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub mod config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
pub mod args; | ||
pub mod envelope; | ||
pub mod handlers; | ||
pub mod message; |