collect all clients to one single folder (#119)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use mini_redis::{client, DEFAULT_PORT};
|
||||
use mini_redis::{clients::Client, DEFAULT_PORT};
|
||||
|
||||
use bytes::Bytes;
|
||||
use clap::{Parser, Subcommand};
|
||||
@@ -86,7 +86,7 @@ async fn main() -> mini_redis::Result<()> {
|
||||
let addr = format!("{}:{}", cli.host, cli.port);
|
||||
|
||||
// Establish a connection
|
||||
let mut client = client::connect(&addr).await?;
|
||||
let mut client = Client::connect(&addr).await?;
|
||||
|
||||
// Process the requested command
|
||||
match cli.command {
|
||||
|
||||
Reference in New Issue
Block a user