Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danmuking/DiTing-Go
/ functions
Functions
1,176 in github.com/danmuking/DiTing-Go
⨍
Functions
1,176
◇
Types & classes
90
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/user.gen.go:416
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/user_friend.gen.go:176
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/user_friend.gen.go:390
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/contact.gen.go:182
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/contact.gen.go:396
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/room_friend.gen.go:184
Method
ScanByPage
(result interface{}, offset int, limit int)
dal/query/room_friend.gen.go:398
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/message.gen.go:285
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/room.gen.go:277
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/group_member.gen.go:267
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/room_group.gen.go:275
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/user_apply.gen.go:279
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/user.gen.go:293
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/user_friend.gen.go:267
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/contact.gen.go:273
Method
Scopes
(funcs ...func(gen.Dao) gen.Dao)
dal/query/room_friend.gen.go:275
Method
Select
(conds ...field.Expr)
dal/query/message.gen.go:237
Method
Select
(conds ...field.Expr)
dal/query/room.gen.go:229
Method
Select
(conds ...field.Expr)
dal/query/group_member.gen.go:219
Method
Select
(conds ...field.Expr)
dal/query/room_group.gen.go:227
Method
Select
(conds ...field.Expr)
dal/query/user_apply.gen.go:231
Method
Select
(conds ...field.Expr)
dal/query/user.gen.go:245
Method
Select
(conds ...field.Expr)
dal/query/user_friend.gen.go:219
Method
Select
(conds ...field.Expr)
dal/query/contact.gen.go:225
Method
Select
(conds ...field.Expr)
dal/query/room_friend.gen.go:227
Function
SendMsgEvent
SendMsgEvent 新消息事件
event/listener/new_msg_event.go:133
Method
Session
(config *gorm.Session)
dal/query/message.gen.go:217
Method
Session
(config *gorm.Session)
dal/query/room.gen.go:209
Method
Session
(config *gorm.Session)
dal/query/group_member.gen.go:199
Method
Session
(config *gorm.Session)
dal/query/room_group.gen.go:207
Method
Session
(config *gorm.Session)
dal/query/user_apply.gen.go:211
Method
Session
(config *gorm.Session)
dal/query/user.gen.go:225
Method
Session
(config *gorm.Session)
dal/query/user_friend.gen.go:199
Method
Session
(config *gorm.Session)
dal/query/contact.gen.go:205
Method
Session
(config *gorm.Session)
dal/query/room_friend.gen.go:207
Function
SuccessResponseData
SuccessResponseData 是一个辅助函数,用于创建成功响应
pkg/domain/vo/resp/response.go:72
Function
SuccessResponseDataWithMsg
SuccessResponseDataWithMsg 是一个辅助函数,用于创建成功响应
pkg/domain/vo/resp/response.go:82
Function
SuccessResponseWithMsg
(c *gin.Context, msg string)
pkg/domain/vo/resp/response.go:46
Method
Swap
(i, j int)
pkg/utils/sort.go:13
Method
Table
(newTableName string)
dal/query/message.gen.go:67
Method
Table
(newTableName string)
dal/query/room.gen.go:63
Method
Table
(newTableName string)
dal/query/group_member.gen.go:57
Method
Table
(newTableName string)
dal/query/room_group.gen.go:61
Method
Table
(newTableName string)
dal/query/user_apply.gen.go:63
Method
Table
(newTableName string)
dal/query/user.gen.go:71
Method
Table
(newTableName string)
dal/query/user_friend.gen.go:57
Method
Table
(newTableName string)
dal/query/contact.gen.go:61
Method
Table
(newTableName string)
dal/query/room_friend.gen.go:61
Method
TableName
TableName Message's table name
dal/model/message.gen.go:29
Method
TableName
TableName Room's table name
dal/model/room.gen.go:27
Method
TableName
TableName GroupMember's table name
dal/model/group_member.gen.go:24
Method
TableName
TableName RoomGroup's table name
dal/model/room_group.gen.go:26
Method
TableName
TableName UserApply's table name
dal/model/user_apply.gen.go:27
Method
TableName
TableName User's table name
dal/model/user.gen.go:31
Method
TableName
TableName UserFriend's table name
dal/model/user_friend.gen.go:24
Method
TableName
TableName Contact's table name
dal/model/contact.gen.go:26
Method
TableName
TableName RoomFriend's table name
dal/model/room_friend.gen.go:26
Method
Take
()
dal/query/message.gen.go:321
Method
Take
()
dal/query/room.gen.go:313
Method
Take
()
dal/query/group_member.gen.go:303
Method
Take
()
dal/query/room_group.gen.go:311
Method
Take
()
dal/query/user_apply.gen.go:315
Method
Take
()
dal/query/user.gen.go:329
Method
Take
()
dal/query/user_friend.gen.go:303
Method
Take
()
dal/query/contact.gen.go:309
Method
Take
()
dal/query/room_friend.gen.go:311
Function
TestCancelWithWrongCaptcha
TestCancelWithWrongCaptcha 测试错误验证码注销
service/user_service_integration_test.go:213
Function
TestCancelWithWrongCaptcha
TestCancelWithWrongCaptcha 测试错误验证码注销
tests/integration/user_integration_test.go:214
Function
TestCheckPassword
TestCheckPassword 测试密码校验功能
tests/unit/user_service_test.go:183
Function
TestConcurrentUserLogin
TestConcurrentUserLogin 并发用户登录测试
tests/performance/user_performance_test.go:149
Function
TestConcurrentUserRegistration
TestConcurrentUserRegistration 并发用户注册测试
tests/performance/user_performance_test.go:87
Function
TestDuplicateRegistration
TestDuplicateRegistration 测试重复注册
service/user_service_integration_test.go:134
Function
TestDuplicateRegistration
TestDuplicateRegistration 测试重复注册
tests/integration/user_integration_test.go:135
Function
TestGenerateAndParseToken
(t *testing.T)
utils/jwt/jwt_test.go:117
Function
TestGenerateToken
(t *testing.T)
utils/jwt/jwt_test.go:9
Function
TestLoadTest
TestLoadTest 负载测试
tests/performance/user_performance_test.go:229
Function
TestLoginValidation
TestLoginValidation 测试登录参数验证
service/user_service_test.go:117
Function
TestLoginValidation
TestLoginValidation 测试登录参数验证
tests/unit/user_service_test.go:107
Function
TestLoginWithWrongCredentials
TestLoginWithWrongCredentials 测试错误凭据登录
service/user_service_integration_test.go:165
Function
TestLoginWithWrongCredentials
TestLoginWithWrongCredentials 测试错误凭据登录
tests/integration/user_integration_test.go:166
Function
TestMain
TestMain 在所有测试运行前执行初始化
tests/init_test.go:11
Function
TestMultipleUserWorkflow
TestMultipleUserWorkflow 测试多用户并发工作流
tests/e2e/user_workflow_e2e_test.go:128
Function
TestParseToken
(t *testing.T)
utils/jwt/jwt_test.go:51
Function
TestRegisterValidation
TestRegisterValidation 测试注册参数验证
service/user_service_test.go:78
Function
TestRegisterValidation
TestRegisterValidation 测试注册参数验证
tests/unit/user_service_test.go:42
Function
TestTokenExpiration
(t *testing.T)
utils/jwt/jwt_test.go:152
Function
TestUserCancelFlow
TestUserCancelFlow 测试用户注销流程
service/user_service_integration_test.go:92
Function
TestUserCancelFlow
TestUserCancelFlow 测试用户注销流程
tests/integration/user_integration_test.go:93
Function
TestUserCompleteWorkflow
TestUserCompleteWorkflow 测试用户完整工作流
tests/e2e/user_workflow_e2e_test.go:39
Function
TestUserErrorScenarios
TestUserErrorScenarios 测试用户错误场景
tests/e2e/user_workflow_e2e_test.go:175
Function
TestUserLifecycleFlow
TestUserLifecycleFlow 测试用户完整生命周期流程
service/user_service_test.go:13
Function
TestUserLoginFlow
TestUserLoginFlow 测试用户登录流程
service/user_service_integration_test.go:50
Function
TestUserLoginFlow
TestUserLoginFlow 测试用户登录流程
tests/integration/user_integration_test.go:51
Function
TestUserRegistrationFlow
TestUserRegistrationFlow 测试用户注册流程
service/user_service_integration_test.go:17
Function
TestUserRegistrationFlow
TestUserRegistrationFlow 测试用户注册流程
tests/integration/user_integration_test.go:18
Function
TestUserRegistrationWithValidData
TestUserRegistrationWithValidData 测试有效数据注册
service/user_service_integration_test.go:250
Function
TestUserRegistrationWithValidData
TestUserRegistrationWithValidData 测试有效数据注册
tests/integration/user_integration_test.go:251
Function
TimestampStrToTimeStr
(str *string)
utils/time_utils.go:9
Method
Transaction
(fc func(tx *Query) error, opts ...*sql.TxOptions)
dal/query/gen.go:75
Method
UnderlyingDB
()
dal/query/message.gen.go:197
← previous
next →
901–1,000 of 1,176, ranked by callers