⚙️ refactor: change & add documentation to the code based on the lints (#205)
This commit is contained in:
parent
0d2d449889
commit
049b1c1ddd
16 changed files with 177 additions and 132 deletions
5
src/cache/cacher.rs
vendored
5
src/cache/cacher.rs
vendored
|
@ -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
3
src/cache/mod.rs
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue