{"id":19789276,"url":"https://github.com/coder2z/go-chat","last_synced_at":"2026-06-05T21:31:34.910Z","repository":{"id":108284920,"uuid":"282126434","full_name":"coder2z/go-chat","owner":"coder2z","description":"go 微服务 聊天室","archived":false,"fork":false,"pushed_at":"2020-07-24T06:11:50.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-11T03:57:00.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coder2z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-07-24T04:55:47.000Z","updated_at":"2023-09-01T14:49:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"3682dc42-1839-4a18-9606-c5f1377995fa","html_url":"https://github.com/coder2z/go-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder2z%2Fgo-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder2z%2Fgo-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder2z%2Fgo-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder2z%2Fgo-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder2z","download_url":"https://codeload.github.com/coder2z/go-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241125340,"owners_count":19913841,"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":[],"created_at":"2024-11-12T06:30:53.811Z","updated_at":"2026-06-05T21:31:34.848Z","avatar_url":"https://github.com/coder2z.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 基于go-micro开发的微服务聊天室\n\n## 技术栈\n\u003e 微服务框架：go-micro\n\n\u003e web框架：gin\n\n\u003e orm:gorm\n\n\u003e websocket\n\n\u003e 配置中心：apollo\n\n\u003e jwt\n\n\n## 网站架构\n\n![网站架构](https://gitee.com/myxy99/pic/raw/master/img/blog/2020/07/24/20200724132536.png)\n\n## 项目启动\n\n修改common/config/config.go 中的apollo的host\n\napollo中添加配置\n\n![](https://gitee.com/myxy99/pic/raw/master/img/blog/2020/07/24/20200724140425.png)\n\n启动认证服务\n```\ncd auth/auth-svr\ngo run main.go\n```\n\n启动认证服务api\n```\ncd auth/auth-web\ngo run main.go\n```\n\n启动socket服务\n```\ncd socket/socket-svr\ngo run main.go\n```\n\n启动socket服务api\n```\ncd socket/socket-web\ngo run main.go\n```\n\n启动网关\n```\nmicro api --handler=http\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder2z%2Fgo-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder2z%2Fgo-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder2z%2Fgo-chat/lists"}