mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
14 lines
272 B
Rust
14 lines
272 B
Rust
#[derive(Clone, Debug, PartialEq, Eq)]
|
|
pub struct RedisNode {
|
|
pub host: String,
|
|
pub port: u16,
|
|
}
|
|
|
|
#[derive(Clone, Debug, Default, PartialEq, Eq)]
|
|
pub enum RedisTopology {
|
|
#[default]
|
|
Standalone,
|
|
Cluster {
|
|
startup_nodes: Vec<RedisNode>,
|
|
},
|
|
}
|