Files
dockermcmgr/src/rpc/rpc_client.rs

18 lines
279 B
Rust

pub struct RpcClient{
pub read_buffer: Vec<u8>,
pub buffer: Vec<u8>,
pub close: bool
}
impl RpcClient {
pub fn new() -> Self {
Self {
read_buffer: vec![0; 1024],
buffer: vec![0; 10240],
close: true
}
}
}