This repository was archived by the owner on Mar 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +109
-81
lines changed Expand file tree Collapse file tree 3 files changed +109
-81
lines changed Original file line number Diff line number Diff line change 7
7
8
8
> 这是一个由golang+vue编写的web IM应用服务端 📦📦📦
9
9
10
+ > 这是我学习golang写的第一个小的im聊天应用。对标的应用: im 客服、语音客服。目前功能简洁、支持以下功能。
11
+ >
10
12
#### 简单的功能
11
13
- [x] 支持微博登录
12
14
- [x] 端对端消息推送、图片发送、表情包
13
15
- [x] 语音功能
14
16
- [ ] 视频功能
15
17
- [x] 支持离线消息推送
16
- - [ ] 创建群聊
17
- - [ ] 群聊消息推送
18
+ - [x ] 创建群聊
19
+ - [x] 群聊消息
18
20
- [x] 响应式的前端界面支持pc与h5
21
+ #### 目录结构
22
+ ``` shell
23
+ .
24
+ ├── README.md
25
+ ├── config
26
+ │ ├── app.go
27
+ │ ├── cache.go
28
+ │ ├── config.go
29
+ │ ├── database.go
30
+ │ └── oauth.go
31
+ ├── docs
32
+ │ ├── WechatIMG491.png
33
+ │ ├── WechatIMG492.png
34
+ │ └── WechatIMG493.png
35
+ ├── gin.log
36
+ ├── go.mod
37
+ ├── go.sum
38
+ ├── im
39
+ │ ├── http
40
+ │ │ ├── controller
41
+ │ │ │ ├── auth
42
+ │ │ │ │ ├── auth.go
43
+ │ │ │ │ └── user.go
44
+ │ │ │ └── im
45
+ │ │ │ ├── group.go
46
+ │ │ │ ├── im_ws.go
47
+ │ │ │ ├── message.go
48
+ │ │ │ ├── sm_api.go
49
+ │ │ │ └── uploads.go
50
+ │ │ ├── middleware
51
+ │ │ │ └── auth.go
52
+ │ │ ├── models
53
+ │ │ │ ├── group
54
+ │ │ │ │ └── group.go
55
+ │ │ │ ├── group_user
56
+ │ │ │ │ └── group_user.go
57
+ │ │ │ ├── msg
58
+ │ │ │ │ └── msg.go
59
+ │ │ │ └── user
60
+ │ │ │ └── user.go
61
+ │ │ └── validates
62
+ │ │ ├── auth.go
63
+ │ │ ├── create_group.go
64
+ │ │ └── upload.go
65
+ │ ├── init.go
66
+ │ ├── oauth
67
+ │ │ ├── gitee.go
68
+ │ │ └── weibo.go
69
+ │ ├── service
70
+ │ │ ├── chat.go
71
+ │ │ ├── chat_struct.go
72
+ │ │ └── helper.go
73
+ │ └── utils
74
+ │ └── upload.go
75
+ ├── im.sql
76
+ ├── lang
77
+ │ ├── de.json
78
+ │ ├── en.json
79
+ │ ├── es.json
80
+ │ ├── jp.json
81
+ │ ├── kr.json
82
+ │ ├── loader.go
83
+ │ ├── pt.json
84
+ │ ├── tr.json
85
+ │ ├── zh-CN.json
86
+ │ └── zh-TW.json
87
+ ├── main
88
+ ├── main.go
89
+ ├── pkg
90
+ │ ├── config
91
+ │ │ └── config.go
92
+ │ ├── helpler
93
+ │ │ └── helplers.go
94
+ │ ├── jwt
95
+ │ │ └── jwt.go
96
+ │ ├── log
97
+ │ │ ├── errors.go
98
+ │ │ └── handler.go
99
+ │ ├── model
100
+ │ │ └── model.go
101
+ │ ├── pool
102
+ │ │ └── ants_pool.go
103
+ │ ├── redis
104
+ │ │ └── redis.go
105
+ │ ├── response
106
+ │ │ └── response.go
107
+ │ └── ws
108
+ │ └── app.go
109
+ ├── router
110
+ │ ├── api.go
111
+ │ └── im.go
112
+ ├── tests
113
+ │ └── ws_test.go
114
+ ├── tmp
115
+ │ ├── build-errors.log
116
+ │ ├── docs
117
+ │ │ ├── 1000.png
118
+ │ ├── log
119
+ │ │ ├── 2021-08-19-error.log
120
+ │ ├── main
121
+ │ └── voice
122
+ │ ├── 1628756234000.wav
123
+ │ └── recorder\ (1).wav
124
+ ```
19
125
#### 效果图
20
126
![ golang+vue3开发的一个im应用] ( https://cdn.learnku.com/uploads/images/202108/14/32593/aajXTvR3GF.png!large )
21
127
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ github.com/spf13/viper v1.8.0 h1:QRwDgoG8xX+kp69di68D+YYTCWfYEckbZRfUlEIAal0=
315
315
github.com/spf13/viper v1.8.0 /go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns =
316
316
github.com/spf13/viper v1.8.1 h1:Kq1fyeebqsBfbjZj4EL7gj2IO0mMaiyjYUWcUsl2O44 =
317
317
github.com/spf13/viper v1.8.1 /go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns =
318
+ github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4 =
318
319
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
319
320
github.com/stretchr/testify v1.2.2 /go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs =
320
321
github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments