MCPcopy Create free account

hub / github.com/GoSimplicity/LinkMe / functions

Functions1,482 in github.com/GoSimplicity/LinkMe

↓ 1 callersMethodExist
(ctx context.Context, number string)
internal/repository/sms.go:28
↓ 1 callersMethodExistsLotteryDrawByName
(ctx context.Context, name string)
internal/repository/lotteryDraw.go:17
↓ 1 callersMethodExistsLotteryDrawByName
(ctx context.Context, name string)
internal/repository/dao/lotteryDraw.go:15
↓ 1 callersMethodExistsSecondKillEventByName
(ctx context.Context, name string)
internal/repository/lotteryDraw.go:25
↓ 1 callersMethodExistsSecondKillEventByName
(ctx context.Context, name string)
internal/repository/dao/lotteryDraw.go:21
↓ 1 callersMethodExtractToken
(ctx *gin.Context)
utils/jwt/jwt.go:44
↓ 1 callersMethodFilter
(text string)
utils/contentfilter/contentfilter.go:61
↓ 1 callersMethodFindAll
(ctx context.Context, pagination domain.Pagination)
internal/repository/check.go:14
↓ 1 callersMethodFindAll
(ctx context.Context, pagination domain.Pagination)
internal/repository/dao/check.go:16
↓ 1 callersMethodFindByID
(ctx context.Context, checkID int64)
internal/repository/check.go:15
↓ 1 callersMethodFindByID
(ctx context.Context, id int64)
internal/repository/user.go:20
↓ 1 callersMethodFindByID
(ctx context.Context, id int64)
internal/repository/dao/user.go:121
↓ 1 callersMethodFindByPhone
(ctx context.Context, phone string)
internal/repository/user.go:21
↓ 1 callersMethodFindByPhone
(ctx context.Context, phone string)
internal/repository/dao/user.go:29
↓ 1 callersMethodFindByPostId
(ctx context.Context, postID uint)
internal/repository/check.go:16
↓ 1 callersMethodFindCommentByCommentId
(ctx context.Context, commentId int64)
internal/repository/comment.go:27
↓ 1 callersMethodFindCommentByCommentId
(ctx context.Context, commentId int64)
internal/repository/dao/comment.go:46
↓ 1 callersMethodFindCommentsByPostId
(ctx context.Context, postId int64, minId, limit int64)
internal/repository/dao/comment.go:42
↓ 1 callersMethodFindLastParameter
Note:为了保证可以看到历史参数的内容,只以追加的形式插入,不进行更新
internal/repository/rankingparameters.go:12
↓ 1 callersMethodFindLastParameter
Note:为了保证可以看到历史参数的内容,只以追加的形式插入,不进行更新
internal/repository/dao/rankingparameters.go:12
↓ 1 callersMethodFindTopCommentsByPostId
(ctx context.Context, postId int64)
internal/repository/dao/comment.go:45
↓ 1 callersMethodFollowUser
(ctx context.Context, followerID, followeeID int64)
internal/repository/relation.go:16
↓ 1 callersFunctionForbidden
Forbidden 无权限的返回,使用HTTP 403状态码
pkg/apiresponse/apiresponse.go:170
↓ 1 callersMethodForceGet
(ctx context.Context)
internal/repository/cache/local.go:21
↓ 1 callersFunctionFromDomainSlicePubPostList
FromDomainSlicePubPostList 将dao层对象转为领域层对象
pkg/change/change.go:34
↓ 1 callersMethodGet
(ctx context.Context, postId uint)
internal/repository/interactive.go:21
↓ 1 callersMethodGet
(ctx context.Context, postId int64)
internal/repository/cache/comment.go:14
↓ 1 callersMethodGet
(ctx context.Context)
internal/repository/cache/ranking.go:23
↓ 1 callersMethodGet
(ctx context.Context, uid int64)
internal/repository/cache/user.go:14
↓ 1 callersMethodGetApiById
(ctx context.Context, id int)
internal/service/api.go:14
↓ 1 callersMethodGetApiById
(ctx context.Context, id int)
internal/repository/api.go:13
↓ 1 callersMethodGetApiById
(ctx context.Context, id int)
internal/repository/dao/api.go:28
↓ 1 callersMethodGetByIds
(ctx context.Context, postIds []uint)
internal/repository/dao/interactive.go:37
↓ 1 callersMethodGetCollectInfo
(ctx context.Context, postId uint, uid int64)
internal/repository/dao/interactive.go:35
↓ 1 callersMethodGetLikeInfo
(ctx context.Context, postId uint, uid int64)
internal/repository/dao/interactive.go:34
↓ 1 callersMethodGetList
(ctx context.Context, page int, size int)
internal/repository/cache/post.go:19
↓ 1 callersMethodGetLotteryDrawByID
(ctx context.Context, id int)
internal/repository/lotteryDraw.go:16
↓ 1 callersMethodGetMenuById
(ctx context.Context, id int)
internal/service/menu.go:15
↓ 1 callersMethodGetMenuById
(ctx context.Context, id int)
internal/repository/menu.go:13
↓ 1 callersMethodGetMenuTree
(ctx context.Context)
internal/repository/menu.go:17
↓ 1 callersMethodGetMenus
(ctx context.Context, pageNum, pageSize int, isTree bool)
internal/service/menu.go:13
↓ 1 callersMethodGetMoreCommentsReply
(ctx context.Context, rootId, maxId, limit int64)
internal/repository/comment.go:25
↓ 1 callersMethodGetPost
(ctx context.Context, postId uint)
internal/repository/post.go:31
↓ 1 callersMethodGetPostById
GetPostById 获取帖子详细信息
internal/repository/post.go:117
↓ 1 callersMethodGetPostsByPlate
(ctx context.Context, plateId int64, pagination domain.Pagination)
internal/repository/post.go:34
↓ 1 callersMethodGetPostsCount
(ctx context.Context)
internal/repository/post.go:33
↓ 1 callersMethodGetProfile
(ctx context.Context, UserID int64)
internal/repository/user.go:26
↓ 1 callersMethodGetProfileByUserID
(ctx context.Context, UserID int64)
internal/service/user.go:28
↓ 1 callersMethodGetProfileByUserID
(ctx context.Context, userId int64)
internal/repository/dao/user.go:33
↓ 1 callersMethodGetPub
(ctx context.Context, key string)
internal/repository/cache/post.go:25
↓ 1 callersMethodGetPubById
(ctx context.Context, postId uint)
internal/repository/dao/post.go:25
↓ 1 callersMethodGetPubList
(ctx context.Context, page int, size int)
internal/repository/cache/post.go:22
↓ 1 callersMethodGetRankingConfig
(ctx context.Context)
internal/service/ranking.go:25
↓ 1 callersMethodGetRankingConfig
榜单配置相关方法 GetRankingConfig 获取当前榜单配置
internal/service/ranking.go:87
↓ 1 callersMethodGetRecentActivity
(ctx context.Context)
internal/repository/activity.go:11
↓ 1 callersMethodGetRole
(ctx context.Context, roleId int)
internal/repository/role.go:18
↓ 1 callersMethodGetRoleById
(ctx context.Context, id int)
internal/service/role.go:20
↓ 1 callersMethodGetRoleById
(ctx context.Context, id int)
internal/repository/role.go:13
↓ 1 callersMethodGetSecondKillEventByID
(ctx context.Context, id int)
internal/repository/lotteryDraw.go:24
↓ 1 callersMethodGetUserRole
(ctx context.Context, userId int)
internal/repository/role.go:17
↓ 1 callersMethodHasUserParticipatedInLottery
(ctx context.Context, id int, userID int64)
internal/repository/lotteryDraw.go:18
↓ 1 callersMethodHasUserParticipatedInLottery
(ctx context.Context, id int, userID int64)
internal/repository/dao/lotteryDraw.go:16
↓ 1 callersMethodHasUserParticipatedInSecondKill
(ctx context.Context, id int, userID int64)
internal/repository/lotteryDraw.go:26
↓ 1 callersMethodHasUserParticipatedInSecondKill
(ctx context.Context, id int, userID int64)
internal/repository/dao/lotteryDraw.go:22
↓ 1 callersMethodHashPassword
HashPassword 对密码进行哈希处理
internal/domain/user.go:95
↓ 1 callersMethodIncrCollectionItem
(ctx context.Context, postId uint, uid int64)
internal/repository/interactive.go:19
↓ 1 callersMethodIncrLike
(ctx context.Context, postId uint, uid int64)
internal/repository/interactive.go:17
↓ 1 callersMethodIncrReadCnt
(ctx context.Context, postId uint)
internal/repository/interactive.go:16
↓ 1 callersFunctionInit
()
cmd/main.go:24
↓ 1 callersFunctionInitAsynqClient
* * Copyright 2024 Bamboo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit
ioc/asynq.go:29
↓ 1 callersFunctionInitAsynqServer
()
ioc/asynq.go:36
↓ 1 callersFunctionInitCasbin
InitCasbin 初始化casbin权限管理器
ioc/casbin.go:11
↓ 1 callersFunctionInitConsumers
InitConsumers 初始化并返回一个事件消费者
ioc/kafka.go:71
↓ 1 callersFunctionInitES
InitES 初始化elasticsearch
ioc/es.go:9
↓ 1 callersFunctionInitMiddlewares
InitMiddlewares 初始化中间件
ioc/middleware.go:16
↓ 1 callersFunctionInitRankingService
(svc service.RankingService)
ioc/asynq.go:55
↓ 1 callersFunctionInitSaramaClient
InitSaramaClient 初始化Sarama客户端,用于连接到Kafka集群
ioc/kafka.go:21
↓ 1 callersFunctionInitScheduler
()
ioc/asynq.go:48
↓ 1 callersFunctionInitSyncProducer
InitSyncProducer 使用已有的Sarama客户端初始化同步生产者
ioc/kafka.go:45
↓ 1 callersFunctionInitTables
InitTables 初始化数据库表
internal/repository/dao/init.go:8
↓ 1 callersFunctionInitViper
InitViper 初始化viper配置
config/viper.go:12
↓ 1 callersFunctionInitWeb
InitWeb 初始化web服务
ioc/web.go:10
↓ 1 callersFunctionInitWebServer
Injectors from wire.go:
ioc/wire_gen.go:32
↓ 1 callersMethodInputComment
(ctx context.Context, comment domain.CommentSearch)
internal/repository/search.go:24
↓ 1 callersMethodInputPost
处理输入用户
internal/repository/search.go:23
↓ 1 callersMethodInputUser
(ctx context.Context, user domain.UserSearch)
internal/repository/search.go:22
↓ 1 callersMethodInsert
(ctx context.Context, rankingParameter domain.RankingParameter)
internal/repository/rankingparameters.go:11
↓ 1 callersMethodInsertCollectionBiz
(ctx context.Context, cb UserCollectionBiz)
internal/repository/dao/interactive.go:32
↓ 1 callersMethodInsertLikeInfo
(ctx context.Context, lb UserLikeBiz)
internal/repository/dao/interactive.go:30
↓ 1 callersFunctionInternalServerError
InternalServerError 服务器内部错误的返回,使用HTTP 500状态码
pkg/apiresponse/apiresponse.go:190
↓ 1 callersMethodIsExistComment
(ctx context.Context, commentId uint)
internal/repository/search.go:20
↓ 1 callersMethodIsExistPost
搜索用户
internal/repository/search.go:19
↓ 1 callersMethodIsExistUser
(ctx context.Context, userId int64)
internal/repository/search.go:21
↓ 1 callersMethodIsExistsComment
(ctx context.Context, commentid string)
internal/repository/dao/search.go:43
↓ 1 callersMethodIsExistsPost
(ctx context.Context, postid string)
internal/repository/dao/search.go:41
↓ 1 callersMethodIsExistsUser
(ctx context.Context, userid string)
internal/repository/dao/search.go:42
↓ 1 callersFunctionIsValidNumber
IsValidNumber 检查给定的字符串是否符合中国的手机号格式
utils/sms.go:19
↓ 1 callersMethodLike
(ctx context.Context, postId uint, uid int64)
internal/service/interactive.go:16
↓ 1 callersMethodLiked
(ctx context.Context, postId uint, uid int64)
internal/repository/interactive.go:22
↓ 1 callersMethodList
(ctx context.Context, pagination domain.Pagination)
internal/repository/dao/post.go:27
← previousnext →301–400 of 1,482, ranked by callers