Initial commit
- rough filestructure - first simplistic daemon
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Husk milter
|
||||
//
|
||||
// Context
|
||||
//
|
||||
|
||||
pub struct HuskContext {
|
||||
pub sender: Option<String>,
|
||||
}
|
||||
|
||||
impl HuskContext {
|
||||
|
||||
/// Create a new HuskContext instance
|
||||
pub fn new() -> Option<HuskContext> {
|
||||
Some(HuskContext {
|
||||
sender: None
|
||||
})
|
||||
}
|
||||
|
||||
pub fn set_sender(&mut self, sender: String) {
|
||||
self.sender = Some(sender);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub mod husk_context;
|
||||
Reference in New Issue
Block a user