|
9 | 9 | //! # Architecture
|
10 | 10 | //!
|
11 | 11 | //! * `server`: Redis server module. Provides a run function that initiates the server, enabling it
|
12 |
| -//! to begin handling incoming connections from Redis clients. It manages client requests, executes |
13 |
| -//! Redis commands, and handles connection lifecycles. |
| 12 | +//! to begin handling incoming connections from Redis clients. It manages client requests, executes |
| 13 | +//! Redis commands, and handles connection lifecycles. |
14 | 14 | //!
|
15 | 15 | //! * `connection`: The Connection module manages a TCP connection for a Redis client. It separates
|
16 |
| -//! the TCP stream into readable and writable components to facilitate data consumption and |
17 |
| -//! transmission. The server uses this connection module to read data from the TCP connection. |
| 16 | +//! the TCP stream into readable and writable components to facilitate data consumption and |
| 17 | +//! transmission. The server uses this connection module to read data from the TCP connection. |
18 | 18 | //!
|
19 | 19 | //! * `codec`: This module is responsible for decoding raw TCP byte streams into `Frame` data
|
20 |
| -//! structures. This is an essential component for translating incoming client requests into |
21 |
| -//! meaningful Redis commands. |
| 20 | +//! structures. This is an essential component for translating incoming client requests into |
| 21 | +//! meaningful Redis commands. |
22 | 22 | //!
|
23 | 23 | //! * `frame`: This module defines the `Frame` enum, representing different types of Redis protocol
|
24 |
| -//! messages, and provides parsing and serialization functionalities. It adheres to the RESP (Redis |
25 |
| -//! Serialization Protocol) specifications. |
| 24 | +//! messages, and provides parsing and serialization functionalities. It adheres to the RESP (Redis |
| 25 | +//! Serialization Protocol) specifications. |
26 | 26 | //!
|
27 | 27 | //! * `store`: This module provides a simple key-value store for managing Redis string data types.
|
28 |
| -//! It supports basic operations such as setting, getting, removing, and incrementing values |
29 |
| -//! associated with keys. |
| 28 | +//! It supports basic operations such as setting, getting, removing, and incrementing values |
| 29 | +//! associated with keys. |
30 | 30 | //!
|
31 | 31 | //! ```text
|
32 | 32 | //!
|
|
0 commit comments