├── .github └── workflows │ ├── build-cron.yml │ ├── build-http-app.yml │ ├── build-mq.yml │ ├── build-rpc-contact.yml │ ├── build-rpc-user.yml │ ├── build-rpc-video.yml │ ├── golangci-lint.yml │ └── reviewdog.yml ├── .gitignore ├── common ├── cron │ ├── syncUserInfoCache.go │ └── syncVideoInfoCache.go ├── error │ ├── apiErr │ │ ├── base.go │ │ └── code.go │ └── rpcErr │ │ └── rpcErr.go ├── model │ ├── contact.go │ ├── user.go │ └── video.go ├── mq │ ├── addCacheValue.go │ ├── delCache.go │ ├── loseFriends.go │ └── tryMakeFriends.go ├── oss │ └── aliyun.go └── utils │ ├── convert.go │ ├── genCacheKey.go │ ├── jwt.go │ └── uuid.go ├── deploy └── config │ ├── filebeat.yml │ ├── go-stash.yml │ ├── modd.DockerFile │ └── prometheus.yml ├── docker-compose-arm64.yml ├── docker-compose.yml ├── docs ├── 0113第一次会议.md ├── docker-compose.md ├── 业务架构图.drawio └── 项目架构图.drawio ├── go.mod ├── go.sum ├── modd.conf ├── readme.md ├── script ├── genCode.bat └── genCode.sh └── service ├── cron ├── Dockerfile ├── cron.go ├── etc │ └── cron.yaml.example └── internal │ ├── config │ └── config.go │ ├── scheduler │ └── asynq.go │ └── svc │ └── serviceContext.go ├── http ├── Dockerfile ├── apis │ ├── contact.api │ ├── dto │ │ └── dto.api │ ├── user.api │ └── video.api ├── app.api ├── app.go ├── etc │ └── app.yaml.example └── internal │ ├── config │ └── config.go │ ├── handler │ ├── contact │ │ ├── getFriendListHandler.go │ │ ├── getHistoryMessageHandler.go │ │ └── sendMessageHandler.go │ ├── routes.go │ ├── user │ │ ├── fansListHandler.go │ │ ├── followHandler.go │ │ ├── followListHandler.go │ │ ├── getUserInfoHandler.go │ │ ├── loginHandler.go │ │ └── registerHandler.go │ └── video │ │ ├── commentListHandler.go │ │ ├── commentVideoHandler.go │ │ ├── favoriteListHandler.go │ │ ├── favoriteVideoHandler.go │ │ ├── getVideoListHandler.go │ │ ├── publishVideoHandler.go │ │ └── publishedListHandler.go │ ├── logic │ ├── contact │ │ ├── getFriendListLogic.go │ │ ├── getHistoryMessageLogic.go │ │ └── sendMessageLogic.go │ ├── user │ │ ├── fansListLogic.go │ │ ├── followListLogic.go │ │ ├── followLogic.go │ │ ├── getUserInfoLogic.go │ │ ├── loginLogic.go │ │ └── registerLogic.go │ └── video │ │ ├── commentListLogic.go │ │ ├── commentVideoLogic.go │ │ ├── favoriteListLogic.go │ │ ├── favoriteVideoLogic.go │ │ ├── getVideoListLogic.go │ │ ├── publishVideoLogic.go │ │ └── publishedListLogic.go │ ├── middleware │ └── authMiddleware.go │ ├── svc │ └── serviceContext.go │ └── types │ └── types.go ├── mq ├── Dockerfile ├── etc │ └── mq.yaml.example ├── internal │ ├── config │ │ └── config.go │ ├── handler │ │ ├── addCacheValue.go │ │ ├── asynq.go │ │ ├── delCache.go │ │ ├── loseFriends.go │ │ ├── syncUserInfoCache.go │ │ ├── syncVideoInfoCache.go │ │ └── tryMakeFriends.go │ └── svc │ │ └── serviceContext.go └── mq.go └── rpc ├── contact ├── Dockerfile ├── contact.go ├── contact.proto ├── contactclient │ └── contact.go ├── etc │ └── contact.yaml.example ├── internal │ ├── config │ │ └── config.go │ ├── logic │ │ ├── createMessageLogic.go │ │ ├── getFriendsListLogic.go │ │ ├── getLatestMessageLogic.go │ │ ├── getMessageListLogic.go │ │ ├── loseFriendsLogic.go │ │ └── makeFriendsLogic.go │ ├── server │ │ └── contactServer.go │ └── svc │ │ └── serviceContext.go └── types │ └── contact │ ├── contact.pb.go │ └── contact_grpc.pb.go ├── user ├── Dockerfile ├── etc │ └── user.yaml.example ├── internal │ ├── config │ │ └── config.go │ ├── logic │ │ ├── createUserLogic.go │ │ ├── followUserLogic.go │ │ ├── getFansListLogic.go │ │ ├── getFollowListLogic.go │ │ ├── getUserByIdLogic.go │ │ ├── getUserByNameLogic.go │ │ ├── isFollowLogic.go │ │ ├── unFollowUserLogic.go │ │ └── updateUserLogic.go │ ├── server │ │ └── userServer.go │ └── svc │ │ └── serviceContext.go ├── types │ └── user │ │ ├── user.pb.go │ │ └── user_grpc.pb.go ├── user.go ├── user.proto └── userclient │ └── user.go └── video ├── Dockerfile ├── etc └── video.yaml.example ├── internal ├── config │ └── config.go ├── logic │ ├── commentVideoLogic.go │ ├── deleteVideoCommentLogic.go │ ├── favoriteVideoLogic.go │ ├── getCommentInfoLogic.go │ ├── getCommentListLogic.go │ ├── getFavoriteVideoListLogic.go │ ├── getVideoListByAuthorLogic.go │ ├── getVideoListLogic.go │ ├── isFavoriteVideoLogic.go │ ├── publishVideoLogic.go │ ├── unFavoriteVideoLogic.go │ └── updateVideoLogic.go ├── server │ └── videoServer.go └── svc │ └── serviceContext.go ├── types └── video │ ├── video.pb.go │ └── video_grpc.pb.go ├── video.go ├── video.proto └── videoclient └── video.go /.github/workflows/build-cron.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/build-cron.yml -------------------------------------------------------------------------------- /.github/workflows/build-http-app.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/build-http-app.yml -------------------------------------------------------------------------------- /.github/workflows/build-mq.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/build-mq.yml -------------------------------------------------------------------------------- /.github/workflows/build-rpc-contact.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/build-rpc-contact.yml -------------------------------------------------------------------------------- /.github/workflows/build-rpc-user.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/build-rpc-user.yml -------------------------------------------------------------------------------- /.github/workflows/build-rpc-video.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/build-rpc-video.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.github/workflows/reviewdog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.github/workflows/reviewdog.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/.gitignore -------------------------------------------------------------------------------- /common/cron/syncUserInfoCache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/cron/syncUserInfoCache.go -------------------------------------------------------------------------------- /common/cron/syncVideoInfoCache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/cron/syncVideoInfoCache.go -------------------------------------------------------------------------------- /common/error/apiErr/base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/error/apiErr/base.go -------------------------------------------------------------------------------- /common/error/apiErr/code.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/error/apiErr/code.go -------------------------------------------------------------------------------- /common/error/rpcErr/rpcErr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/error/rpcErr/rpcErr.go -------------------------------------------------------------------------------- /common/model/contact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/model/contact.go -------------------------------------------------------------------------------- /common/model/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/model/user.go -------------------------------------------------------------------------------- /common/model/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/model/video.go -------------------------------------------------------------------------------- /common/mq/addCacheValue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/mq/addCacheValue.go -------------------------------------------------------------------------------- /common/mq/delCache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/mq/delCache.go -------------------------------------------------------------------------------- /common/mq/loseFriends.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/mq/loseFriends.go -------------------------------------------------------------------------------- /common/mq/tryMakeFriends.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/mq/tryMakeFriends.go -------------------------------------------------------------------------------- /common/oss/aliyun.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/oss/aliyun.go -------------------------------------------------------------------------------- /common/utils/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/utils/convert.go -------------------------------------------------------------------------------- /common/utils/genCacheKey.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/utils/genCacheKey.go -------------------------------------------------------------------------------- /common/utils/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/utils/jwt.go -------------------------------------------------------------------------------- /common/utils/uuid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/common/utils/uuid.go -------------------------------------------------------------------------------- /deploy/config/filebeat.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/deploy/config/filebeat.yml -------------------------------------------------------------------------------- /deploy/config/go-stash.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/deploy/config/go-stash.yml -------------------------------------------------------------------------------- /deploy/config/modd.DockerFile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/deploy/config/modd.DockerFile -------------------------------------------------------------------------------- /deploy/config/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/deploy/config/prometheus.yml -------------------------------------------------------------------------------- /docker-compose-arm64.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/docker-compose-arm64.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/0113第一次会议.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/docs/0113第一次会议.md -------------------------------------------------------------------------------- /docs/docker-compose.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/docs/docker-compose.md -------------------------------------------------------------------------------- /docs/业务架构图.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/docs/业务架构图.drawio -------------------------------------------------------------------------------- /docs/项目架构图.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/docs/项目架构图.drawio -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/go.sum -------------------------------------------------------------------------------- /modd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/modd.conf -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/readme.md -------------------------------------------------------------------------------- /script/genCode.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/script/genCode.bat -------------------------------------------------------------------------------- /script/genCode.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/script/genCode.sh -------------------------------------------------------------------------------- /service/cron/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/cron/Dockerfile -------------------------------------------------------------------------------- /service/cron/cron.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/cron/cron.go -------------------------------------------------------------------------------- /service/cron/etc/cron.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/cron/etc/cron.yaml.example -------------------------------------------------------------------------------- /service/cron/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/cron/internal/config/config.go -------------------------------------------------------------------------------- /service/cron/internal/scheduler/asynq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/cron/internal/scheduler/asynq.go -------------------------------------------------------------------------------- /service/cron/internal/svc/serviceContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/cron/internal/svc/serviceContext.go -------------------------------------------------------------------------------- /service/http/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/Dockerfile -------------------------------------------------------------------------------- /service/http/apis/contact.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/apis/contact.api -------------------------------------------------------------------------------- /service/http/apis/dto/dto.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/apis/dto/dto.api -------------------------------------------------------------------------------- /service/http/apis/user.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/apis/user.api -------------------------------------------------------------------------------- /service/http/apis/video.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/apis/video.api -------------------------------------------------------------------------------- /service/http/app.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/app.api -------------------------------------------------------------------------------- /service/http/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/app.go -------------------------------------------------------------------------------- /service/http/etc/app.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/etc/app.yaml.example -------------------------------------------------------------------------------- /service/http/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/config/config.go -------------------------------------------------------------------------------- /service/http/internal/handler/contact/getFriendListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/contact/getFriendListHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/contact/getHistoryMessageHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/contact/getHistoryMessageHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/contact/sendMessageHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/contact/sendMessageHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/routes.go -------------------------------------------------------------------------------- /service/http/internal/handler/user/fansListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/user/fansListHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/user/followHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/user/followHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/user/followListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/user/followListHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/user/getUserInfoHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/user/getUserInfoHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/user/loginHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/user/loginHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/user/registerHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/user/registerHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/commentListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/commentListHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/commentVideoHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/commentVideoHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/favoriteListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/favoriteListHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/favoriteVideoHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/favoriteVideoHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/getVideoListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/getVideoListHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/publishVideoHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/publishVideoHandler.go -------------------------------------------------------------------------------- /service/http/internal/handler/video/publishedListHandler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/handler/video/publishedListHandler.go -------------------------------------------------------------------------------- /service/http/internal/logic/contact/getFriendListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/contact/getFriendListLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/contact/getHistoryMessageLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/contact/getHistoryMessageLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/contact/sendMessageLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/contact/sendMessageLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/user/fansListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/user/fansListLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/user/followListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/user/followListLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/user/followLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/user/followLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/user/getUserInfoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/user/getUserInfoLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/user/loginLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/user/loginLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/user/registerLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/user/registerLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/commentListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/commentListLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/commentVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/commentVideoLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/favoriteListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/favoriteListLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/favoriteVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/favoriteVideoLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/getVideoListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/getVideoListLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/publishVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/publishVideoLogic.go -------------------------------------------------------------------------------- /service/http/internal/logic/video/publishedListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/logic/video/publishedListLogic.go -------------------------------------------------------------------------------- /service/http/internal/middleware/authMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/middleware/authMiddleware.go -------------------------------------------------------------------------------- /service/http/internal/svc/serviceContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/svc/serviceContext.go -------------------------------------------------------------------------------- /service/http/internal/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/http/internal/types/types.go -------------------------------------------------------------------------------- /service/mq/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/Dockerfile -------------------------------------------------------------------------------- /service/mq/etc/mq.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/etc/mq.yaml.example -------------------------------------------------------------------------------- /service/mq/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/config/config.go -------------------------------------------------------------------------------- /service/mq/internal/handler/addCacheValue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/addCacheValue.go -------------------------------------------------------------------------------- /service/mq/internal/handler/asynq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/asynq.go -------------------------------------------------------------------------------- /service/mq/internal/handler/delCache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/delCache.go -------------------------------------------------------------------------------- /service/mq/internal/handler/loseFriends.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/loseFriends.go -------------------------------------------------------------------------------- /service/mq/internal/handler/syncUserInfoCache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/syncUserInfoCache.go -------------------------------------------------------------------------------- /service/mq/internal/handler/syncVideoInfoCache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/syncVideoInfoCache.go -------------------------------------------------------------------------------- /service/mq/internal/handler/tryMakeFriends.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/handler/tryMakeFriends.go -------------------------------------------------------------------------------- /service/mq/internal/svc/serviceContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/internal/svc/serviceContext.go -------------------------------------------------------------------------------- /service/mq/mq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/mq/mq.go -------------------------------------------------------------------------------- /service/rpc/contact/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/Dockerfile -------------------------------------------------------------------------------- /service/rpc/contact/contact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/contact.go -------------------------------------------------------------------------------- /service/rpc/contact/contact.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/contact.proto -------------------------------------------------------------------------------- /service/rpc/contact/contactclient/contact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/contactclient/contact.go -------------------------------------------------------------------------------- /service/rpc/contact/etc/contact.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/etc/contact.yaml.example -------------------------------------------------------------------------------- /service/rpc/contact/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/config/config.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/logic/createMessageLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/logic/createMessageLogic.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/logic/getFriendsListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/logic/getFriendsListLogic.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/logic/getLatestMessageLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/logic/getLatestMessageLogic.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/logic/getMessageListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/logic/getMessageListLogic.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/logic/loseFriendsLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/logic/loseFriendsLogic.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/logic/makeFriendsLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/logic/makeFriendsLogic.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/server/contactServer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/server/contactServer.go -------------------------------------------------------------------------------- /service/rpc/contact/internal/svc/serviceContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/internal/svc/serviceContext.go -------------------------------------------------------------------------------- /service/rpc/contact/types/contact/contact.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/types/contact/contact.pb.go -------------------------------------------------------------------------------- /service/rpc/contact/types/contact/contact_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/contact/types/contact/contact_grpc.pb.go -------------------------------------------------------------------------------- /service/rpc/user/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/Dockerfile -------------------------------------------------------------------------------- /service/rpc/user/etc/user.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/etc/user.yaml.example -------------------------------------------------------------------------------- /service/rpc/user/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/config/config.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/createUserLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/createUserLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/followUserLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/followUserLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/getFansListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/getFansListLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/getFollowListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/getFollowListLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/getUserByIdLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/getUserByIdLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/getUserByNameLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/getUserByNameLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/isFollowLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/isFollowLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/unFollowUserLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/unFollowUserLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/logic/updateUserLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/logic/updateUserLogic.go -------------------------------------------------------------------------------- /service/rpc/user/internal/server/userServer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/server/userServer.go -------------------------------------------------------------------------------- /service/rpc/user/internal/svc/serviceContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/internal/svc/serviceContext.go -------------------------------------------------------------------------------- /service/rpc/user/types/user/user.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/types/user/user.pb.go -------------------------------------------------------------------------------- /service/rpc/user/types/user/user_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/types/user/user_grpc.pb.go -------------------------------------------------------------------------------- /service/rpc/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/user.go -------------------------------------------------------------------------------- /service/rpc/user/user.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/user.proto -------------------------------------------------------------------------------- /service/rpc/user/userclient/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/user/userclient/user.go -------------------------------------------------------------------------------- /service/rpc/video/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/Dockerfile -------------------------------------------------------------------------------- /service/rpc/video/etc/video.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/etc/video.yaml.example -------------------------------------------------------------------------------- /service/rpc/video/internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/config/config.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/commentVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/commentVideoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/deleteVideoCommentLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/deleteVideoCommentLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/favoriteVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/favoriteVideoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/getCommentInfoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/getCommentInfoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/getCommentListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/getCommentListLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/getFavoriteVideoListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/getFavoriteVideoListLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/getVideoListByAuthorLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/getVideoListByAuthorLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/getVideoListLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/getVideoListLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/isFavoriteVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/isFavoriteVideoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/publishVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/publishVideoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/unFavoriteVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/unFavoriteVideoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/logic/updateVideoLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/logic/updateVideoLogic.go -------------------------------------------------------------------------------- /service/rpc/video/internal/server/videoServer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/server/videoServer.go -------------------------------------------------------------------------------- /service/rpc/video/internal/svc/serviceContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/internal/svc/serviceContext.go -------------------------------------------------------------------------------- /service/rpc/video/types/video/video.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/types/video/video.pb.go -------------------------------------------------------------------------------- /service/rpc/video/types/video/video_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/types/video/video_grpc.pb.go -------------------------------------------------------------------------------- /service/rpc/video/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/video.go -------------------------------------------------------------------------------- /service/rpc/video/video.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/video.proto -------------------------------------------------------------------------------- /service/rpc/video/videoclient/video.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h68u/h68u-tiktok-app-microservice/HEAD/service/rpc/video/videoclient/video.go --------------------------------------------------------------------------------