ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::xarg_redis Struct Reference

Redis配置结构体 More...

#include <xmlinfo.h>

Public Attributes

str_ip m_ip
 Redis IP地址
i16_port m_port = 0
 Redis端口
std::string m_passworld
 Redis密码

Detailed Description

Redis配置结构体

包含Redis服务器的连接配置。

ngl::xarg_redis redis_config;
redis_config.m_ip = "127.0.0.1";
redis_config.m_port = 6379;
redis_config.m_passworld = "password";

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