Added key-based authentication

This commit is contained in:
Uber Veng
2026-05-29 05:42:38 +07:00
parent fdc9219742
commit 17bf4d546a
9 changed files with 452 additions and 37 deletions

View File

@@ -14,6 +14,8 @@ pub enum AppError {
Child(String),
#[error("Protocol error: {0}")]
Protocol(String),
#[error("Access denied by server")]
AccessDenied,
}
pub type Result<T> = std::result::Result<T, AppError>;