userver: redis::ConnectionInfo Struct Reference
Loading...
Searching...
No Matches
redis::ConnectionInfo Struct Reference

Detailed Description

Definition at line 23 of file base.hpp.

+ Collaboration diagram for redis::ConnectionInfo:

Public Types

using HostVector = std::vector<std::string>
 

Public Member Functions

 ConnectionInfo (std::string host, int port, Password password, bool read_only=false, ConnectionSecurity security=ConnectionSecurity::kNone)
 

Public Attributes

std::string host = "localhost"
 
int port = 26379
 
Password password
 
bool read_only = false
 
ConnectionSecurity connection_security = ConnectionSecurity::kNone
 

Member Typedef Documentation

◆ HostVector

using redis::ConnectionInfo::HostVector = std::vector<std::string>

Definition at line 29 of file base.hpp.

Constructor & Destructor Documentation

◆ ConnectionInfo()

redis::ConnectionInfo::ConnectionInfo ( std::string host,
int port,
Password password,
bool read_only = false,
ConnectionSecurity security = ConnectionSecurity::kNone )
inline

Definition at line 32 of file base.hpp.

Member Data Documentation

◆ connection_security

ConnectionSecurity redis::ConnectionInfo::connection_security = ConnectionSecurity::kNone

Definition at line 28 of file base.hpp.

◆ host

std::string redis::ConnectionInfo::host = "localhost"

Definition at line 24 of file base.hpp.

◆ password

Password redis::ConnectionInfo::password

Definition at line 26 of file base.hpp.

◆ port

int redis::ConnectionInfo::port = 26379

Definition at line 25 of file base.hpp.

◆ read_only

bool redis::ConnectionInfo::read_only = false

Definition at line 27 of file base.hpp.


The documentation for this struct was generated from the following file: