Connect message queue to frontend API

This commit is contained in:
Lucien Greathouse
2019-09-19 13:12:21 -07:00
parent 196d27b959
commit e773a92e53
2 changed files with 27 additions and 17 deletions

View File

@@ -17,8 +17,7 @@ pub(crate) const SERVER_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const PROTOCOL_VERSION: u64 = 3;
// TODO
#[derive(Debug, Serialize, Deserialize)]
pub struct SubscribeMessage;
pub type SubscribeMessage = ();
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]