MCPcopy Create free account

hub / github.com/GoSimplicity/LinkMe / functions

Functions1,482 in github.com/GoSimplicity/LinkMe

↓ 2 callersFunctionWrapParam
(bizFn func(ctx *gin.Context, req Req) (Result, error))
pkg/ginp/wrapper.go:32
↓ 2 callersMethodacquireLock
acquireLock 尝试获取分布式锁
internal/repository/cache/lotteryDraw.go:303
↓ 2 callersMethodacquireLock
辅助方法: 获取分布式锁
internal/repository/cache/post.go:447
↓ 2 callersMethodapiFromDAO
apiFromDAO 将DAO层的API对象转换为domain层对象
internal/repository/api.go:102
↓ 2 callersMethodapiToDAO
apiToDAO 将domain层的API对象转换为DAO层对象
internal/repository/api.go:82
↓ 2 callersMethodbatchAddPolicies
batchAddPolicies 批量添加策略
internal/repository/dao/permission.go:294
↓ 2 callersMethodcheckExistence
checkExistence 检查是否存在
internal/repository/interactive.go:115
↓ 2 callersFunctionconvertToDAOParticipants
convertToDAOParticipants 将 domain.Participant 列表转换为 dao.Participant 列表
internal/repository/lotteryDraw.go:345
↓ 2 callersFunctionconvertToDomainLotteryDraw
convertToDomainLotteryDraw 将 dao.LotteryDraw 转换为 domain.LotteryDraw
internal/repository/lotteryDraw.go:273
↓ 2 callersFunctionconvertToDomainParticipants
convertToDomainParticipants 将 dao.Participant 列表转换为 domain.Participant 列表
internal/repository/lotteryDraw.go:370
↓ 2 callersFunctionconvertToDomainSecondKillEvent
convertToDomainSecondKillEvent 将 dao.SecondKillEvent 转换为 domain.SecondKillEvent
internal/repository/lotteryDraw.go:310
↓ 2 callersMethodcopyPosts
()
internal/repository/cache/local.go:100
↓ 2 callersFunctioncurrentUserID
(ctx *gin.Context)
internal/api/auth.go:25
↓ 2 callersMethodflushBuffer
()
internal/domain/events/es/process_util.go:123
↓ 2 callersFunctiongenEmailKey
(email string)
internal/repository/cache/email.go:33
↓ 2 callersFunctiongenerateLockKey
generateLockKey 生成分布式锁的键
internal/repository/cache/lotteryDraw.go:347
↓ 2 callersFunctiongenerateUUID
generateUUID 生成新的UUID
internal/service/lotteryDraw.go:599
↓ 2 callersFunctiongetCountKey
(number string, now time.Time)
internal/repository/cache/sms.go:45
↓ 2 callersMethodgetLock
getLock 获取指定活动的读写锁,如果不存在则创建一个新的锁
internal/service/lotteryDraw.go:593
↓ 2 callersMethodgetSubNode
(char rune)
utils/contentfilter/contentfilter.go:139
↓ 2 callersFunctiongetVCodeKey
(smsID, number string)
internal/repository/cache/sms.go:38
↓ 2 callersMethodisCommentIndexExists
isCommentIndexExists 查询Comment索引是否存在
internal/domain/events/es/consumer.go:332
↓ 2 callersFunctionisNil
isNil 使用反射检查值是否为 nil
pkg/cachep/bloom/cachebloom.go:146
↓ 2 callersMethodisPostIndexExists
isPostIndexExists 查询Post索引是否存在
internal/domain/events/es/consumer.go:442
↓ 2 callersMethodisUserExists
isUserExists 查询指定User是否存在
internal/domain/events/es/consumer.go:456
↓ 2 callersMethodlockKey
(key string)
internal/repository/cache/post.go:476
↓ 2 callersMethodmenuFromDAO
menuFromDAO 将数据访问对象转换为领域模型
internal/repository/menu.go:96
↓ 2 callersMethodmenuToDAO
menuToDAO 将领域模型转换为数据访问对象
internal/repository/menu.go:75
↓ 2 callersMethodmenusFromDAO
menusFromDAO 批量将菜单DAO模型转换为领域模型
internal/repository/role.go:141
↓ 2 callersFunctionnewTrieNode
()
utils/contentfilter/contentfilter.go:133
↓ 2 callersMethodrecordActivity
recordActivity 记录活动
internal/service/check.go:208
↓ 2 callersMethodreleaseLock
releaseLock 释放分布式锁,使用 Lua 脚本确保操作的原子性
internal/repository/cache/lotteryDraw.go:314
↓ 2 callersMethodreleaseLock
辅助方法: 释放分布式锁
internal/repository/cache/post.go:452
↓ 2 callersMethodroleToDAO
roleToDAO 将领域模型转换为DAO模型
internal/repository/role.go:91
↓ 2 callersFunctionstringToNullTimeHookFunc
stringToNullTimeHookFunc 转换字符串到 NullTime 类型
internal/domain/events/es/process_util.go:197
↓ 2 callersFunctiontoDAOCheck
toDAOCheck 将 domain.Check 转换为 dao.Check
internal/repository/check.go:75
↓ 2 callersMethodtoDAOComment
toDAOComment 将领域模型评论转换为DAO评论
internal/repository/comment.go:107
↓ 2 callersMethodtoDaoPostSearch
(domainPosts domain.PostSearch)
internal/repository/search.go:109
↓ 2 callersMethodtoDaoUserSearch
(domainUsers domain.UserSearch)
internal/repository/search.go:127
↓ 2 callersFunctiontoDomain
(ic dao.Interactive)
internal/repository/interactive.go:127
↓ 2 callersMethodtoDomainSliceComments
toDomainSliceComments 将DAO评论切片转换为领域模型评论切片
internal/repository/comment.go:164
↓ 2 callersMethodunmarshalValue
unmarshalValue 将缓存值反序列化为指定类型
pkg/cachep/local/local.go:123
↓ 1 callersMethodAbstract
()
internal/domain/post.go:59
↓ 1 callersMethodAddKeyword
(keyword string)
utils/contentfilter/contentfilter.go:49
↓ 1 callersMethodAddLotteryParticipant
(ctx context.Context, dp domain.Participant)
internal/repository/lotteryDraw.go:19
↓ 1 callersMethodAddSecondKillParticipant
(ctx context.Context, dp domain.Participant)
internal/repository/lotteryDraw.go:27
↓ 1 callersMethodApproveCheck
(ctx context.Context, checkID int64, remark string, uid int64)
internal/service/check.go:18
↓ 1 callersMethodAssignRole
(ctx context.Context, roleId int, menuIds []int, apiIds []int)
internal/repository/permission.go:11
↓ 1 callersMethodAssignRole
(ctx context.Context, roleId int, menuIds []int, apiIds []int)
internal/repository/dao/permission.go:15
↓ 1 callersMethodAssignRoleToUser
(ctx context.Context, userId int, roleIds []int, menuIds []int, apiIds []int)
internal/repository/permission.go:12
↓ 1 callersMethodAssignRoleToUsers
(ctx context.Context, userIds []int, roleIds []int, menuIds []int, apiIds []int)
internal/repository/permission.go:13
↓ 1 callersFunctionBadRequestWithDetails
BadRequestWithDetails 带详细数据和消息的参数错误返回
pkg/apiresponse/apiresponse.go:205
↓ 1 callersMethodBulkInputLogs
(ctx context.Context, event []domain.ReadEvent)
internal/repository/search.go:27
↓ 1 callersMethodBulkInputPosts
(ctx context.Context, posts []domain.PostSearch)
internal/repository/search.go:25
↓ 1 callersMethodBulkInputPosts
(ctx context.Context, posts []PostSearch)
internal/repository/dao/search.go:47
↓ 1 callersMethodBulkInputUsers
(ctx context.Context, users []domain.UserSearch)
internal/repository/search.go:26
↓ 1 callersMethodBulkInputUsers
(ctx context.Context, users []UserSearch)
internal/repository/dao/search.go:48
↓ 1 callersMethodCancelCollect
(ctx context.Context, postId uint, uid int64)
internal/service/interactive.go:19
↓ 1 callersMethodCancelFollowUser
(ctx context.Context, followerID, followeeID int64)
internal/repository/relation.go:17
↓ 1 callersMethodCancelLike
(ctx context.Context, postId uint, uid int64)
internal/service/interactive.go:17
↓ 1 callersMethodCheckCode
(ctx context.Context, smsID, number, vCode string)
internal/repository/sms.go:24
↓ 1 callersMethodCheckDetail
(ctx context.Context, checkID int64)
internal/service/check.go:21
↓ 1 callersMethodCheckLogin
CheckLogin 校验JWT
middleware/login.go:22
↓ 1 callersFunctionCheckPostContent
(title string, content string)
utils/aicheck/doubao.go:58
↓ 1 callersMethodCheckSession
(ctx *gin.Context, ssid string)
utils/jwt/jwt.go:45
↓ 1 callersMethodClose
()
internal/domain/events/es/process_util.go:55
↓ 1 callersMethodCollect
(ctx context.Context, postId uint, uid int64)
internal/service/interactive.go:18
↓ 1 callersMethodCollected
(ctx context.Context, postId uint, uid int64)
internal/repository/interactive.go:23
↓ 1 callersMethodCreate
(ctx context.Context, check domain.Check)
internal/repository/check.go:12
↓ 1 callersMethodCreateApi
(ctx context.Context, api *domain.Api)
internal/repository/api.go:12
↓ 1 callersMethodCreateComment
(ctx context.Context, comment domain.Comment)
internal/repository/comment.go:22
↓ 1 callersMethodCreateCommentIndex
CreateCommentIndex 创建comment的es索引
internal/repository/dao/search.go:158
↓ 1 callersMethodCreateLogsIndex
CreateLogsIndex 创建日志索引
internal/repository/dao/search.go:213
↓ 1 callersMethodCreateLotteryDraw
(ctx context.Context, draw domain.LotteryDraw)
internal/repository/lotteryDraw.go:15
↓ 1 callersMethodCreateMenu
(ctx context.Context, menu *domain.Menu)
internal/repository/menu.go:12
↓ 1 callersMethodCreatePlate
(ctx context.Context, plate domain.Plate)
internal/repository/plate.go:12
↓ 1 callersMethodCreatePostIndex
(ctx context.Context, properties ...interface{})
internal/repository/dao/search.go:33
↓ 1 callersMethodCreatePostIndex
CreatePostIndex 创建post的es索引
internal/repository/dao/search.go:175
↓ 1 callersMethodCreateRole
(ctx context.Context, role *domain.Role, menuIds []int, apiIds []int)
internal/repository/role.go:12
↓ 1 callersMethodCreateSecondKillEvent
(ctx context.Context, input domain.SecondKillEvent)
internal/repository/lotteryDraw.go:23
↓ 1 callersMethodCreateUser
(ctx context.Context, u domain.User)
internal/repository/user.go:19
↓ 1 callersMethodCreateUser
(ctx context.Context, u User)
internal/repository/dao/user.go:26
↓ 1 callersMethodCreateUserIndex
CreateUserIndex 创建用户索引
internal/repository/dao/search.go:195
↓ 1 callersMethodDecrCollectionItem
(ctx context.Context, postId uint, uid int64)
internal/repository/interactive.go:20
↓ 1 callersMethodDelete
(ctx context.Context, postId uint, uid int64)
internal/repository/post.go:30
↓ 1 callersMethodDeleteAllHistory
(ctx context.Context, uid int64)
internal/repository/history.go:15
↓ 1 callersMethodDeleteApi
(ctx context.Context, id int)
internal/repository/api.go:15
↓ 1 callersMethodDeleteCollectionBiz
(ctx context.Context, cb UserCollectionBiz)
internal/repository/dao/interactive.go:33
↓ 1 callersMethodDeleteCommentById
(ctx context.Context, commentId int64)
internal/repository/dao/comment.go:41
↓ 1 callersMethodDeleteCommentIndex
删除文章索引
internal/repository/search.go:30
↓ 1 callersMethodDeleteCommentIndex
(ctx context.Context, commentId uint)
internal/repository/dao/search.go:52
↓ 1 callersMethodDeleteLikeInfo
(ctx context.Context, lb UserLikeBiz)
internal/repository/dao/interactive.go:31
↓ 1 callersMethodDeleteMenu
(ctx context.Context, id int)
internal/repository/menu.go:15
↓ 1 callersMethodDeleteOneCache
(ctx context.Context, postId uint, uid int64)
internal/repository/cache/history.go:29
↓ 1 callersMethodDeletePlate
(ctx context.Context, plateId int64, uid int64)
internal/repository/plate.go:15
↓ 1 callersMethodDeletePostIndex
删除用户索引
internal/repository/search.go:29
↓ 1 callersMethodDeletePostIndex
(ctx context.Context, postId uint)
internal/repository/dao/search.go:51
↓ 1 callersMethodDeleteRole
(ctx context.Context, id int)
internal/repository/role.go:15
↓ 1 callersMethodDeleteUser
(ctx context.Context, username string, uid int64)
internal/repository/user.go:24
↓ 1 callersMethodDeleteUserIndex
处理输入文章
internal/repository/search.go:28
← previousnext →201–300 of 1,482, ranked by callers