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

ambee/giterated

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

Add more backend logic

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨5060ca2

⁨src/messages/mod.rs⁩ - ⁨306⁩ bytes
Raw
1 use serde::{Deserialize, Serialize};
2
3 use crate::handshake::HandshakeMessage;
4
5 use self::repository::RepositoryMessage;
6
7 pub mod issues;
8 pub mod repository;
9 pub mod user;
10
11 #[derive(Clone, Serialize, Deserialize)]
12 pub enum MessageKind {
13 Handshake(HandshakeMessage),
14 Repository(RepositoryMessage),
15 }
16