{"id":15034951,"url":"https://github.com/buguang01/gsdemo","last_synced_at":"2025-06-15T15:33:33.837Z","repository":{"id":98423151,"uuid":"198986060","full_name":"buguang01/gsdemo","owner":"buguang01","description":"使用bige框架实现的，游戏服务器例子","archived":false,"fork":false,"pushed_at":"2020-06-13T03:57:57.000Z","size":62,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T23:04:20.106Z","etag":null,"topics":["bige","game","game-development","game-server","gamedev","golang","golang-examples"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buguang01.png","metadata":{"files":{"readme":"README.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":"2019-07-26T09:14:28.000Z","updated_at":"2021-03-07T04:35:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"edb2c3a1-f546-404b-92e2-f163f9f4cb08","html_url":"https://github.com/buguang01/gsdemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/buguang01/gsdemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buguang01%2Fgsdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buguang01%2Fgsdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buguang01%2Fgsdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buguang01%2Fgsdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buguang01","download_url":"https://codeload.github.com/buguang01/gsdemo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buguang01%2Fgsdemo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259997821,"owners_count":22943684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bige","game","game-development","game-server","gamedev","golang","golang-examples"],"created_at":"2024-09-24T20:26:56.870Z","updated_at":"2025-06-15T15:33:33.815Z","avatar_url":"https://github.com/buguang01.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gsdemo\n使用bige框架实现的，游戏服务器例子\n# 交流QQ群号：441240897\n\n\n建议使用VSCODE，有对应的启动和生成任务可以直接使用；\n生成的程序会出现在bin目录下面；\n直接启动它会去读本地的server.json文件做为启动配置信息；\nweb服务使用post方式接收消息，服务器会从body中接收json数据（默认）；\nsocket服务前4个字节为消息头，里面包含长度信息，经接着4个字节为消息号，然后是消息体；\n具体可以看对应的messages下的route的实现；\n其他的接收消息的方式都是类似的；\n每种服务都有自己的接受消息的格式，可以通过route来进行自定义替换默认的就可以；\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuguang01%2Fgsdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuguang01%2Fgsdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuguang01%2Fgsdemo/lists"}