# pans **Repository Path**: maped/pans ## Basic Information - **Project Name**: pans - **Description**: 这是一个多Reactor+多线程+多协程的程序框架,适用于做高性能服务器,如游戏服务器或HTTP服务器。 - **Primary Language**: C++ - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2026-09-18 - **Last Updated**: 2026-09-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pans ## 代码规范 常量:全部大写 类名:首字母大写,驼峰 非静态成员函数:首字母小写,驼峰 静态成员函数:首字母大写,驼峰 非静态成员变量:以m_开头,首字母小写,驼峰 静态成员变量:以s_开头,首字母小写,驼峰 全局函数:首字母大写,驼峰 函数参数:小写,下划线隔开 局部变量:小写,下划线隔开 # 子模块管理 ## 添加子模块 git submodule add -b master https://github.com/jbeder/yaml-cpp.git third_party/yaml-cpp git submodule add -b master https://github.com/abseil/abseil-cpp.git third_party/abseil-cpp git submodule add -b main https://github.com/protocolbuffers/protobuf.git third_party/protobuf git submodule add -b master https://github.com/Tencent/rapidjson.git third_party/rapidjson git submodule add -b master https://github.com/leethomason/tinyxml2.git third_party/tinyxml2 git submodule add -b master https://github.com/skywind3000/kcp.git third_party/kcp git submodule add -b master https://github.com/madler/zlib.git third_party/zlib ## 同步代码 ### 首次同步pans git clone --recurse-submodules https://gitee.com/huajianke2026/pans.git ### 更新pans 如果已经同步过pans, 只需要更新其子模块,执行: git submodule update --init --recursive