MCPcopy Create free account

hub / github.com/danmuking/DiTing-Go / functions

Functions1,176 in github.com/danmuking/DiTing-Go

MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/user.gen.go:416
MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/user_friend.gen.go:176
MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/user_friend.gen.go:390
MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/contact.gen.go:182
MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/contact.gen.go:396
MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/room_friend.gen.go:184
MethodScanByPage
(result interface{}, offset int, limit int)
dal/query/room_friend.gen.go:398
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/message.gen.go:285
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/room.gen.go:277
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/group_member.gen.go:267
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/room_group.gen.go:275
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/user_apply.gen.go:279
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/user.gen.go:293
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/user_friend.gen.go:267
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/contact.gen.go:273
MethodScopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/room_friend.gen.go:275
MethodSelect
(conds ...field.Expr)
dal/query/message.gen.go:237
MethodSelect
(conds ...field.Expr)
dal/query/room.gen.go:229
MethodSelect
(conds ...field.Expr)
dal/query/group_member.gen.go:219
MethodSelect
(conds ...field.Expr)
dal/query/room_group.gen.go:227
MethodSelect
(conds ...field.Expr)
dal/query/user_apply.gen.go:231
MethodSelect
(conds ...field.Expr)
dal/query/user.gen.go:245
MethodSelect
(conds ...field.Expr)
dal/query/user_friend.gen.go:219
MethodSelect
(conds ...field.Expr)
dal/query/contact.gen.go:225
MethodSelect
(conds ...field.Expr)
dal/query/room_friend.gen.go:227
FunctionSendMsgEvent
SendMsgEvent 新消息事件
event/listener/new_msg_event.go:133
MethodSession
(config *gorm.Session)
dal/query/message.gen.go:217
MethodSession
(config *gorm.Session)
dal/query/room.gen.go:209
MethodSession
(config *gorm.Session)
dal/query/group_member.gen.go:199
MethodSession
(config *gorm.Session)
dal/query/room_group.gen.go:207
MethodSession
(config *gorm.Session)
dal/query/user_apply.gen.go:211
MethodSession
(config *gorm.Session)
dal/query/user.gen.go:225
MethodSession
(config *gorm.Session)
dal/query/user_friend.gen.go:199
MethodSession
(config *gorm.Session)
dal/query/contact.gen.go:205
MethodSession
(config *gorm.Session)
dal/query/room_friend.gen.go:207
FunctionSuccessResponseData
SuccessResponseData 是一个辅助函数,用于创建成功响应
pkg/domain/vo/resp/response.go:72
FunctionSuccessResponseDataWithMsg
SuccessResponseDataWithMsg 是一个辅助函数,用于创建成功响应
pkg/domain/vo/resp/response.go:82
FunctionSuccessResponseWithMsg
(c *gin.Context, msg string)
pkg/domain/vo/resp/response.go:46
MethodSwap
(i, j int)
pkg/utils/sort.go:13
MethodTable
(newTableName string)
dal/query/message.gen.go:67
MethodTable
(newTableName string)
dal/query/room.gen.go:63
MethodTable
(newTableName string)
dal/query/group_member.gen.go:57
MethodTable
(newTableName string)
dal/query/room_group.gen.go:61
MethodTable
(newTableName string)
dal/query/user_apply.gen.go:63
MethodTable
(newTableName string)
dal/query/user.gen.go:71
MethodTable
(newTableName string)
dal/query/user_friend.gen.go:57
MethodTable
(newTableName string)
dal/query/contact.gen.go:61
MethodTable
(newTableName string)
dal/query/room_friend.gen.go:61
MethodTableName
TableName Message's table name
dal/model/message.gen.go:29
MethodTableName
TableName Room's table name
dal/model/room.gen.go:27
MethodTableName
TableName GroupMember's table name
dal/model/group_member.gen.go:24
MethodTableName
TableName RoomGroup's table name
dal/model/room_group.gen.go:26
MethodTableName
TableName UserApply's table name
dal/model/user_apply.gen.go:27
MethodTableName
TableName User's table name
dal/model/user.gen.go:31
MethodTableName
TableName UserFriend's table name
dal/model/user_friend.gen.go:24
MethodTableName
TableName Contact's table name
dal/model/contact.gen.go:26
MethodTableName
TableName RoomFriend's table name
dal/model/room_friend.gen.go:26
MethodTake
()
dal/query/message.gen.go:321
MethodTake
()
dal/query/room.gen.go:313
MethodTake
()
dal/query/group_member.gen.go:303
MethodTake
()
dal/query/room_group.gen.go:311
MethodTake
()
dal/query/user_apply.gen.go:315
MethodTake
()
dal/query/user.gen.go:329
MethodTake
()
dal/query/user_friend.gen.go:303
MethodTake
()
dal/query/contact.gen.go:309
MethodTake
()
dal/query/room_friend.gen.go:311
FunctionTestCancelWithWrongCaptcha
TestCancelWithWrongCaptcha 测试错误验证码注销
service/user_service_integration_test.go:213
FunctionTestCancelWithWrongCaptcha
TestCancelWithWrongCaptcha 测试错误验证码注销
tests/integration/user_integration_test.go:214
FunctionTestCheckPassword
TestCheckPassword 测试密码校验功能
tests/unit/user_service_test.go:183
FunctionTestConcurrentUserLogin
TestConcurrentUserLogin 并发用户登录测试
tests/performance/user_performance_test.go:149
FunctionTestConcurrentUserRegistration
TestConcurrentUserRegistration 并发用户注册测试
tests/performance/user_performance_test.go:87
FunctionTestDuplicateRegistration
TestDuplicateRegistration 测试重复注册
service/user_service_integration_test.go:134
FunctionTestDuplicateRegistration
TestDuplicateRegistration 测试重复注册
tests/integration/user_integration_test.go:135
FunctionTestGenerateAndParseToken
(t *testing.T)
utils/jwt/jwt_test.go:117
FunctionTestGenerateToken
(t *testing.T)
utils/jwt/jwt_test.go:9
FunctionTestLoadTest
TestLoadTest 负载测试
tests/performance/user_performance_test.go:229
FunctionTestLoginValidation
TestLoginValidation 测试登录参数验证
service/user_service_test.go:117
FunctionTestLoginValidation
TestLoginValidation 测试登录参数验证
tests/unit/user_service_test.go:107
FunctionTestLoginWithWrongCredentials
TestLoginWithWrongCredentials 测试错误凭据登录
service/user_service_integration_test.go:165
FunctionTestLoginWithWrongCredentials
TestLoginWithWrongCredentials 测试错误凭据登录
tests/integration/user_integration_test.go:166
FunctionTestMain
TestMain 在所有测试运行前执行初始化
tests/init_test.go:11
FunctionTestMultipleUserWorkflow
TestMultipleUserWorkflow 测试多用户并发工作流
tests/e2e/user_workflow_e2e_test.go:128
FunctionTestParseToken
(t *testing.T)
utils/jwt/jwt_test.go:51
FunctionTestRegisterValidation
TestRegisterValidation 测试注册参数验证
service/user_service_test.go:78
FunctionTestRegisterValidation
TestRegisterValidation 测试注册参数验证
tests/unit/user_service_test.go:42
FunctionTestTokenExpiration
(t *testing.T)
utils/jwt/jwt_test.go:152
FunctionTestUserCancelFlow
TestUserCancelFlow 测试用户注销流程
service/user_service_integration_test.go:92
FunctionTestUserCancelFlow
TestUserCancelFlow 测试用户注销流程
tests/integration/user_integration_test.go:93
FunctionTestUserCompleteWorkflow
TestUserCompleteWorkflow 测试用户完整工作流
tests/e2e/user_workflow_e2e_test.go:39
FunctionTestUserErrorScenarios
TestUserErrorScenarios 测试用户错误场景
tests/e2e/user_workflow_e2e_test.go:175
FunctionTestUserLifecycleFlow
TestUserLifecycleFlow 测试用户完整生命周期流程
service/user_service_test.go:13
FunctionTestUserLoginFlow
TestUserLoginFlow 测试用户登录流程
service/user_service_integration_test.go:50
FunctionTestUserLoginFlow
TestUserLoginFlow 测试用户登录流程
tests/integration/user_integration_test.go:51
FunctionTestUserRegistrationFlow
TestUserRegistrationFlow 测试用户注册流程
service/user_service_integration_test.go:17
FunctionTestUserRegistrationFlow
TestUserRegistrationFlow 测试用户注册流程
tests/integration/user_integration_test.go:18
FunctionTestUserRegistrationWithValidData
TestUserRegistrationWithValidData 测试有效数据注册
service/user_service_integration_test.go:250
FunctionTestUserRegistrationWithValidData
TestUserRegistrationWithValidData 测试有效数据注册
tests/integration/user_integration_test.go:251
FunctionTimestampStrToTimeStr
(str *string)
utils/time_utils.go:9
MethodTransaction
(fc func(tx *Query) error, opts ...*sql.TxOptions)
dal/query/gen.go:75
MethodUnderlyingDB
()
dal/query/message.gen.go:197
← previousnext →901–1,000 of 1,176, ranked by callers