| | |
| | | std::string netconfig_show(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | |
| | | /*** |
| | | * 创建集群节点 |
| | | * @param ip |
| | | * @param port |
| | | * @param content |
| | | * @param response |
| | | * @return |
| | | */ |
| | | std::string addNode(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | /*** |
| | | * 查询在线节点 |
| | | * @param ip |
| | | * @param port |
| | | * @param content |
| | | * @param response |
| | | * @return |
| | | */ |
| | | std::string searchNode(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | std::string modifyCluName(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | /*** |
| | | * 退出集群 |
| | | * @param ip |
| | | * @param port |
| | | * @param content |
| | | * @param response |
| | | * @return |
| | | */ |
| | | std::string removeNode(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | /** |
| | | *创建数据底库 |
| | | * @param ip |
| | | * @param port |
| | | * @param content |
| | | * @param response |
| | | * @return |
| | | */ |
| | | std::string createDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | /** |
| | | * |
| | | * @param ip |
| | | * @param port |
| | | * @param content |
| | | * @param response |
| | | * @return |
| | | */ |
| | | std::string deleteDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); |
| | | |
| | | std::string updateDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); |