rust_voice_chat_room/client/src/lib.rs

19 lines
359 B
Rust
Raw Normal View History

pub mod gui;
pub mod stream;
pub mod voice;
#[derive(Debug)]
pub struct ClientConfig {
certificate_path: String,
server_address: String,
}
impl ClientConfig {
fn new() -> Self {
Self {
certificate_path: "./client/certificates/cert.pem".to_string(),
server_address: "127.0.0.1:4546".to_string(),
}
}
}