1 |
use serde::{Deserialize, Serialize};
|
2 |
|
3 |
use crate::handshake::HandshakeMessage;
|
4 |
|
5 |
use self::{authentication::AuthenticationMessage, repository::RepositoryMessage};
|
6 |
|
7 |
pub mod authentication;
|
8 |
pub mod issues;
|
9 |
pub mod repository;
|
10 |
pub mod user;
|
11 |
|
12 |
#[derive(Clone, Serialize, Deserialize)]
|
13 |
pub enum MessageKind {
|
14 |
Handshake(HandshakeMessage),
|
15 |
Repository(RepositoryMessage),
|
16 |
Authentication(AuthenticationMessage),
|
17 |
}
|
18 |
|