Skip to content

Commit

Permalink
修整core中代码结构,实现并发请求
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwin committed Feb 20, 2023
1 parent b561cda commit d9dfa97
Show file tree
Hide file tree
Showing 10 changed files with 445 additions and 100 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ go get github.com/ClubWeGo/videomicro@latest
go get github.com/ClubWeGo/usermicro@latest

go get github.com/ClubWeGo/relationmicro@latest



# 说明
1. 当前注册用户时,前端并未提供个人参数配置的能力,也没有提供更新用户信息的能力,所以在core.register_server处写死了初始化的用户背景图像和头像。在配置本项目时,请将对应文件名换成minio中存储的文件名。
63 changes: 21 additions & 42 deletions biz/handler/core/feed_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion biz/handler/core/register_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 39 additions & 15 deletions biz/handler/core/user_info_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/ClubWeGo/favoritemicro v0.0.0-20230218084417-fd4c3433fb21
github.com/ClubWeGo/relationmicro v0.0.0-20230218072559-b17f0bf612ed
github.com/ClubWeGo/usermicro v0.0.0-20230218161017-d68d94d1dac8
github.com/ClubWeGo/videomicro v0.0.0-20230219034144-566fb1b6207a
github.com/ClubWeGo/videomicro v0.0.0-20230219154644-a1694e2abf99
github.com/apache/thrift v0.13.0
github.com/cloudwego/hertz v0.5.2
github.com/cloudwego/kitex v0.4.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ github.com/ClubWeGo/videomicro v0.0.0-20230218142838-4e63ecd438ca h1:sp1kKw7f/45
github.com/ClubWeGo/videomicro v0.0.0-20230218142838-4e63ecd438ca/go.mod h1:SJiohnvP4Dk+iAO/cili779usv4VDj8eIX9RUEN4Cms=
github.com/ClubWeGo/videomicro v0.0.0-20230219034144-566fb1b6207a h1:+5leZMgy9Nj+aOkPfVKQhIt51XAVHCEW6h6JFbf/+ak=
github.com/ClubWeGo/videomicro v0.0.0-20230219034144-566fb1b6207a/go.mod h1:SJiohnvP4Dk+iAO/cili779usv4VDj8eIX9RUEN4Cms=
github.com/ClubWeGo/videomicro v0.0.0-20230219154644-a1694e2abf99 h1:oY0N5NZxvcnaerEKlFiGRp7Nj4xgeREjgl0DMHCR/n8=
github.com/ClubWeGo/videomicro v0.0.0-20230219154644-a1694e2abf99/go.mod h1:SJiohnvP4Dk+iAO/cili779usv4VDj8eIX9RUEN4Cms=
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
Expand Down
5 changes: 5 additions & 0 deletions kitex_server/relationservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,8 @@ func VerifyFollowParam(myUid int64, targetUid int64, actionType int32) *string {
}
return nil
}

// TODO : .GetIsFollowSetByUserIdSet
func GetIsFollowSetByUserIdSet(idSet []int64) (isFollowSet []int64, err error) {
return []int64{}, nil
}
Loading

0 comments on commit d9dfa97

Please sign in to comment.