aboutsummaryrefslogtreecommitdiff
path: root/src/log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.rs')
-rw-r--r--src/log.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/log.rs b/src/log.rs
index 1b6ed45..b15d128 100644
--- a/src/log.rs
+++ b/src/log.rs
@@ -11,6 +11,12 @@ pub struct Log {
/// and topic changes.
#[derive(Debug)]
pub enum Event {
+ Connect {
+ time: i64
+ },
+ Disconnect {
+ time: i64
+ },
Msg {
from: String,
content: String,