https://github.com/coder2z/go-chat
go 微服务 聊天室
https://github.com/coder2z/go-chat
Last synced: 3 months ago
JSON representation
go 微服务 聊天室
- Host: GitHub
- URL: https://github.com/coder2z/go-chat
- Owner: coder2z
- Created: 2020-07-24T04:55:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-24T06:11:50.000Z (almost 5 years ago)
- Last Synced: 2025-01-11T03:57:00.759Z (4 months ago)
- Language: Go
- Size: 94.7 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 基于go-micro开发的微服务聊天室
## 技术栈
> 微服务框架:go-micro> web框架:gin
> orm:gorm
> websocket
> 配置中心:apollo
> jwt
## 网站架构

## 项目启动
修改common/config/config.go 中的apollo的host
apollo中添加配置

启动认证服务
```
cd auth/auth-svr
go run main.go
```启动认证服务api
```
cd auth/auth-web
go run main.go
```启动socket服务
```
cd socket/socket-svr
go run main.go
```启动socket服务api
```
cd socket/socket-web
go run main.go
```启动网关
```
micro api --handler=http
```