MCPcopy Create free account

hub / github.com/GoSimplicity/LinkMe / functions

Functions1,482 in github.com/GoSimplicity/LinkMe

MethodDeleteUser
(ctx context.Context, username string, uid int64)
internal/repository/dao/user.go:177
MethodDeleteUserIndex
(ctx context.Context, userId int64)
internal/repository/search.go:94
MethodDeleteUserIndex
DeleteUserIndex 删除用户索引
internal/repository/dao/search.go:476
FunctionDeleteWithId
(l *zap.Logger, funcName string, timeout int, url string, paramsMap map[string]string, headerMap map[string]st
pkg/apiresponse/apiresponse.go:271
MethodDetail
Detail 获取帖子详情
internal/api/post.go:191
MethodDetailPub
DetailPub 获取公开帖子详情
internal/api/post.go:218
MethodDialHook
DialHook 实现了 redis.DialHook,用于监控连接的执行时间
pkg/cachep/prometheus/prometheus.go:44
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/service/mocks/sms.mock.go:35
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/service/mocks/user.mock.go:40
MethodEdit
Edit 创建新帖子
internal/api/post.go:45
FunctionErrorWithDetails
ErrorWithDetails 带详细数据和消息的操作失败返回
pkg/apiresponse/apiresponse.go:155
MethodExec
Exec 执行脚本
internal/repository/cache/redis_cmd.go:57
MethodExist
(ctx context.Context, key string)
internal/repository/sms.go:78
MethodExist
(ctx context.Context, number string)
internal/repository/cache/sms.go:17
MethodExist
Exist 检查key是否存在
internal/repository/cache/sms.go:79
MethodExistsLotteryDrawByName
ExistsLotteryDrawByName 检查抽奖活动名称是否存在
internal/repository/lotteryDraw.go:89
MethodExistsLotteryDrawByName
ExistsLotteryDrawByName 检查抽奖活动名称是否存在
internal/repository/dao/lotteryDraw.go:145
MethodExistsSecondKillEventByName
ExistsSecondKillEventByName 检查秒杀活动名称是否存在
internal/repository/lotteryDraw.go:160
MethodExistsSecondKillEventByName
ExistsSecondKillEventByName 检查秒杀活动名称是否存在
internal/repository/dao/lotteryDraw.go:235
MethodExtractToken
ExtractToken 提取 Authorization 头部中的 Token
utils/jwt/jwt.go:159
MethodFindAll
FindAll 获取审核列表
internal/repository/check.go:48
MethodFindAll
FindAll 获取审核列表
internal/repository/dao/check.go:91
MethodFindByID
FindByID 获取审核详情
internal/repository/check.go:57
MethodFindByID
FindByID 通过ID查询用户
internal/repository/user.go:78
MethodFindByID
(ctx context.Context, checkId int64)
internal/repository/dao/check.go:17
MethodFindByID
FindByID 获取审核详情
internal/repository/dao/check.go:111
MethodFindByPhone
FindByPhone 通过电话查询用户
internal/repository/user.go:104
MethodFindByPhone
(ctx context.Context, phone string)
internal/repository/dao/user.go:147
MethodFindByPostId
FindByPostId 根据帖子ID获取审核信息
internal/repository/check.go:66
MethodFindByPostId
(ctx context.Context, postId uint)
internal/repository/dao/check.go:18
MethodFindByPostId
FindByPostId 根据帖子ID获取审核信息
internal/repository/dao/check.go:127
MethodFindByUsername
FindByUsername 通过用户名查询用户
internal/repository/user.go:114
MethodFindByUsername
(ctx context.Context, username string)
internal/repository/dao/user.go:133
MethodFindCommentByCommentId
FindCommentByCommentId 根据评论ID查找评论
internal/repository/comment.go:44
MethodFindCommentByCommentId
FindCommentByCommentId 根据commentId查找评论
internal/repository/dao/comment.go:69
MethodFindCommentsByPostId
FindCommentsByPostId 根据 postID 查找评论
internal/repository/dao/comment.go:120
MethodFindFailedLogs
(ctx context.Context)
internal/repository/dao/sms.go:12
MethodFindFailedLogs
(ctx context.Context)
internal/repository/dao/sms.go:47
MethodFindLastParameter
(ctx context.Context)
internal/repository/rankingparameters.go:34
MethodFindLastParameter
(ctx context.Context)
internal/repository/dao/rankingparameters.go:45
MethodFindRepliesByRid
(ctx context.Context, rid int64, id int64, limit int64)
internal/repository/dao/comment.go:44
MethodFindRepliesByRid
FindRepliesByRid 根据根评论ID查找回复
internal/repository/dao/comment.go:153
MethodFindTopCommentsByPostId
(ctx context.Context, postId int64)
internal/repository/dao/comment.go:138
MethodFollowCount
FollowCount 获取用户的关注和粉丝数量
internal/repository/dao/relation.go:176
MethodFollowUser
FollowUser 关注用户
internal/service/relation.go:45
MethodFollowUser
FollowUser 关注用户
internal/repository/relation.go:37
MethodFollowUser
(ctx context.Context, followerID, followeeID int64)
internal/repository/dao/relation.go:22
MethodFollowUser
FollowUser 关注用户,并更新相关计数器
internal/repository/dao/relation.go:96
MethodFollowUser
FollowUser 处理关注用户的请求
internal/api/relation.go:71
FunctionForbiddenError
ForbiddenError 无权限的失败返回
pkg/apiresponse/apiresponse.go:215
MethodForceGet
(ctx context.Context)
internal/repository/cache/local.go:69
MethodGenerateCacheKey
GenerateCacheKey 生成单个审核记录的缓存键
internal/repository/cache/check.go:165
MethodGenerateCacheKey
(userID int64, relationType string, pagination domain.Pagination)
internal/repository/cache/relation.go:19
MethodGenerateCountCacheKey
GenerateCountCacheKey 生成审核记录数量的缓存键
internal/repository/cache/check.go:175
MethodGenerateCountCacheKey
(userID int64, relationType string)
internal/repository/cache/relation.go:20
MethodGeneratePaginationCacheKey
(pagination domain.Pagination)
internal/repository/cache/check.go:25
MethodGeneratePaginationCacheKey
GeneratePaginationCacheKey 生成分页查询的缓存键
internal/repository/cache/check.go:170
MethodGet
Get 从缓存中获取数据,如果缓存未命中,则调用 loader 加载数据并缓存
pkg/cachep/local/local.go:55
MethodGet
Get 获取单个互动信息
internal/service/interactive.go:91
MethodGet
Get 获取互动信息
internal/repository/interactive.go:79
MethodGet
Get 从redis中获取数据并反序列化
internal/repository/cache/comment.go:31
MethodGet
(ctx context.Context)
internal/repository/cache/ranking.go:69
MethodGet
Get 获取帖子缓存
internal/repository/cache/post.go:58
MethodGet
(ctx context.Context)
internal/repository/cache/local.go:20
MethodGet
(ctx context.Context)
internal/repository/cache/local.go:58
MethodGet
取消收藏
internal/repository/cache/interactive.go:31
MethodGet
Get 获取互动信息
internal/repository/cache/interactive.go:61
MethodGet
Get 从redis中获取数据并反序列化
internal/repository/cache/user.go:31
MethodGet
(ctx context.Context, postId uint)
internal/repository/dao/interactive.go:36
MethodGet
Get 获取单个互动信息
internal/repository/dao/interactive.go:299
MethodGetApiById
GetApiById 根据ID获取API
internal/service/api.go:43
MethodGetApiById
GetApiById 根据ID获取API
internal/repository/api.go:40
MethodGetApiById
GetApiById 根据ID获取API记录
internal/repository/dao/api.go:59
MethodGetById
(ctx context.Context, postIds []uint)
internal/repository/interactive.go:24
MethodGetById
GetById 批量获取互动信息
internal/repository/interactive.go:101
MethodGetById
GetById 根据ID获取帖子
internal/repository/dao/post.go:207
MethodGetByIds
(ctx context.Context, postIds []uint)
internal/service/interactive.go:21
MethodGetByIds
GetByIds 批量获取互动信息
internal/service/interactive.go:99
MethodGetByIds
GetByIds 批量获取互动信息
internal/repository/dao/interactive.go:310
MethodGetCache
GetCache 从缓存中获取单个审核记录
internal/repository/cache/check.go:38
MethodGetCache
(ctx context.Context, key string)
internal/repository/cache/relation.go:14
MethodGetCache
(ctx context.Context, key string)
internal/repository/cache/relation.go:31
MethodGetCache
(ctx context.Context, pagination domain.Pagination)
internal/repository/cache/history.go:28
MethodGetCache
GetCache 获取历史记录
internal/repository/cache/history.go:47
MethodGetCacheList
(ctx context.Context, key string)
internal/repository/cache/check.go:20
MethodGetCacheList
GetCacheList 从缓存中获取审核记录列表
internal/repository/cache/check.go:105
MethodGetCodes
GetCodes 获取权限码
internal/api/user.go:349
MethodGetCollectInfo
GetCollectInfo 获取收藏信息
internal/repository/dao/interactive.go:290
MethodGetCountCache
GetCountCache 从缓存中获取审核记录的数量
internal/repository/cache/check.go:141
MethodGetCountCache
(ctx context.Context, key string)
internal/repository/cache/relation.go:16
MethodGetCountCache
(ctx context.Context, key string)
internal/repository/cache/relation.go:61
MethodGetFolloweeCount
(ctx context.Context, UserID int64)
internal/service/relation.go:54
MethodGetFolloweeCount
(ctx context.Context, userID int64)
internal/repository/relation.go:18
MethodGetFolloweeCount
(ctx context.Context, userID int64)
internal/repository/relation.go:97
MethodGetFolloweeCount
GetFolloweeCount 获取关注者的数量
internal/api/relation.go:114
MethodGetFollowerCount
(ctx context.Context, UserID int64)
internal/service/relation.go:58
MethodGetFollowerCount
(ctx context.Context, userID int64)
internal/repository/relation.go:19
MethodGetFollowerCount
(ctx context.Context, userID int64)
internal/repository/relation.go:115
MethodGetFollowerCount
GetFollowerCount 获取粉丝的数量
internal/api/relation.go:130
MethodGetHistory
GetHistory 获取历史记录
internal/service/history.go:30
← previousnext →901–1,000 of 1,482, ranked by callers