⚙️ refactor: change & add documentation to the code based on the lints (#205)

This commit is contained in:
neon_arch 2023-09-03 19:23:34 +03:00
parent 0d2d449889
commit 049b1c1ddd
16 changed files with 177 additions and 132 deletions

5
src/cache/cacher.rs vendored
View file

@ -6,11 +6,8 @@ use redis::{Client, Commands, Connection};
/// A named struct which stores the redis Connection url address to which the client will
/// connect to.
///
/// # Fields
///
/// * `redis_connection_url` - It stores the redis Connection url address.
pub struct RedisCache {
/// It stores the redis Connection url address.
connection: Connection,
}

3
src/cache/mod.rs vendored
View file

@ -1 +1,4 @@
//! This module provides the modules which provide the functionality to cache the aggregated
//! results fetched and aggregated from the upstream search engines in a json format.
pub mod cacher;