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

ambee/giterated

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

Rebrand to requests over command

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨688fc97

⁨src/messages/mod.rs⁩ - ⁨292⁩ 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
10 #[derive(Clone, Serialize, Deserialize)]
11 pub enum MessageKind {
12 Handshake(HandshakeMessage),
13 Repository(RepositoryMessage),
14 }
15