work (new network + db initial working state)

This commit is contained in:
2026-02-15 16:59:47 -05:00
parent a8b55f669f
commit 8be13e14bc
14 changed files with 418 additions and 232 deletions

View File

@@ -17,6 +17,8 @@ pub enum ServerMsgInst {
ServerErrorV0(ServerErrorV0) = 3,
}
pub type UserIdV0 = u64;
#[derive(Debug, bitcode::Encode, bitcode::Decode)]
pub struct CreateAccountV0 {
pub username: String,
@@ -56,7 +58,7 @@ pub struct SendMsgV0 {
#[derive(Debug, Clone, bitcode::Encode, bitcode::Decode)]
pub struct LoadMsgV0 {
pub content: String,
pub user: String,
pub author: UserIdV0,
}
#[derive(Debug, bitcode::Encode, bitcode::Decode)]