JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Changes

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨0b2a26d

⁨src/messages/mod.rs⁩ - ⁨414⁩ bytes
Raw
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