{"id":41340094,"url":"https://github.com/thkhxm/tgf","last_synced_at":"2026-01-23T06:48:06.848Z","repository":{"id":105536251,"uuid":"606502336","full_name":"thkhxm/tgf","owner":"thkhxm","description":"​ tgf框架是使用golang开发的一套游戏分布式框架,支持全球一服.项目采用了rpcx做为底层rpc的通讯,consul提供服务注册发现.定义了一整套的模块开发规范.","archived":false,"fork":false,"pushed_at":"2024-04-28T10:12:24.000Z","size":13684,"stargazers_count":67,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-30T11:46:51.520Z","etag":null,"topics":["game","gameserver","golang","golang-game-engine"],"latest_commit_sha":null,"homepage":"https://thkhxm.github.io/tgf_writerside/starter-topic.html","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thkhxm.png","metadata":{"files":{"readme":"README.cn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-25T17:26:50.000Z","updated_at":"2024-05-06T07:31:18.622Z","dependencies_parsed_at":"2024-03-04T03:36:50.440Z","dependency_job_id":"1ebbc7e7-1242-4ee7-92df-b8b30d4619fd","html_url":"https://github.com/thkhxm/tgf","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/thkhxm/tgf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkhxm%2Ftgf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkhxm%2Ftgf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkhxm%2Ftgf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkhxm%2Ftgf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thkhxm","download_url":"https://codeload.github.com/thkhxm/tgf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thkhxm%2Ftgf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","gameserver","golang","golang-game-engine"],"created_at":"2026-01-23T06:48:05.938Z","updated_at":"2026-01-23T06:48:06.839Z","avatar_url":"https://github.com/thkhxm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 关于 tgf\n    tgf框架是使用golang开发的一套游戏分布式框架.\n\n    属于开箱即用的项目框架,目前适用于中小型团队,独立开发者,快速开发使用.\n\n    框架提供了一整套开发工具,并且定义了模块开发规范.\n\n    开发者只需要关注业务逻辑即可,无需关心用户并发和节点状态等复杂情况.\n\n\n[项目地址](https://github.com/thkhxm/tgf)  \n[项目文档](https://thkhxm.github.io/tgf_writerside/starter-topic.html)\n\n\n## 交流群\n    QQ群:7400585\n\n## 技术选型\n    Golang开发版本:  1.21.1\n\n| 技术       | 说明           | 仓库地址                                 |\n| ---------- | -------------- | ---------------------------------------- |\n| rpcx       | 底层rpc的实现  | https://github.com/smallnest/rpcx        |\n| redis      | 提供数据缓存   | https://redis.io/                        |\n| hashmap    | 线程安全的集合 | https://github.com/cornelk/hashmap       |\n| ants       | 高性能go协程池 | https://github.com/panjf2000/ants        |\n| redislock  | 分布式redis锁  | https://github.com/bsm/redislock         |\n| snowflake  | 雪花算法       | https://github.com/bwmarrin/snowflake    |\n| doublejump | 一致性hash     | https://github.com/edwingeng/doublejump  |\n| godotenv   | 环境变量工具   | https://github.com/joho/godotenv         |\n| zap        | 日志框架       | https://go.uber.org/zap                  |\n| lumberjack | 日志切割工具   | https://gopkg.in/natefinch/lumberjack.v2 |\n| excelize   | Excel工具      | https://github.com/qax-os/excelize       |\n| sonic      | json高性能工具 | https://github.com/bytedance/sonic/      |\n\n\n## 基础架构图\n\n![image-20230228031100624](http://oss.yamigame.net/picgo/image-20230228031100624.png)\n\n## 规划\n    项目后续会更新系列教程文章和视频教程,并且开源项目案例.也会不断的更新和优化项目框架.\n    欢迎大家加入qq群一起交流和探讨.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthkhxm%2Ftgf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthkhxm%2Ftgf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthkhxm%2Ftgf/lists"}