MCPcopy Create free account

hub / github.com/TGlimmer/TG_walletbot / functions

Functions2,200 in github.com/TGlimmer/TG_walletbot

FunctionEditInlineMessageWithKeyboard
EditInlineMessageWithKeyboard 编辑 inline 模式消息文本并更新键盘 (HTML 格式)
pkg/telegram/message.go:102
FunctionEditMessageWithKeyboard
EditMessageWithKeyboard 编辑消息文本并更新内联键盘 (HTML 格式)
pkg/telegram/message.go:67
FunctionExchangeRates
()
web/src/pages/ExchangeRates.tsx:32
MethodExecuteExchange
ExecuteExchange 执行兑换 (事务)
internal/domain/service/exchange_service.go:163
MethodExecuteTransfer
ExecuteTransfer 执行转账 (事务) fromUserID: 发送方用户 ID toUserID: 接收方用户 ID currency: 币种 amount: 转账金额 transferType: 转账类型 (主动转账/收款请求)
internal/domain/service/transfer_service.go:58
MethodExists
(_ context.Context, key string)
internal/infrastructure/tron/monitor_test.go:181
MethodExists
(ctx context.Context, key string)
internal/domain/service/mocks/mock_repos.go:431
MethodExists
Exists 检查缓存是否存在
internal/adapter/repository/cache_repo.go:41
FunctionFeeManagement
()
web/src/pages/FeeManagement.tsx:40
FunctionFinanceManagement
()
web/src/pages/FinanceManagement.tsx:54
MethodFindAll
(ctx context.Context)
internal/domain/service/mocks/mock_repos.go:371
MethodFindAll
FindAll 获取所有汇率配置
internal/adapter/repository/exchange_rate_repo.go:35
MethodFindAll
(ctx context.Context)
internal/adapter/handler/mock_test.go:331
MethodFindByAPIKey
(ctx context.Context, apiKey string)
internal/domain/service/mocks/mock_repos.go:697
MethodFindByAPIKey
FindByAPIKey 根据 API Key 查询商户
internal/domain/port/repository.go:288
MethodFindByAPIKey
FindByAPIKey 根据 API Key 查询商户
internal/adapter/repository/merchant_repo.go:51
MethodFindByAPIKey
(_ context.Context, _ string)
internal/adapter/handler/mock_test.go:435
MethodFindByDepositAddress
(_ context.Context, _ string)
internal/infrastructure/tron/monitor_test.go:754
MethodFindByDepositAddress
(ctx context.Context, address string)
internal/domain/service/mocks/mock_repos.go:102
MethodFindByDepositAddress
FindByDepositAddress 根据充值地址查询钱包
internal/adapter/repository/wallet_repo.go:57
MethodFindByDepositAddress
(_ context.Context, _ string)
internal/adapter/handler/mock_test.go:241
MethodFindByID
(_ context.Context, id uint64)
internal/infrastructure/tron/monitor_test.go:686
MethodFindByID
(_ context.Context, _ uint64)
internal/infrastructure/tron/monitor_test.go:745
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:27
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:78
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:273
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:298
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:338
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:396
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:478
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:533
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:635
MethodFindByID
(ctx context.Context, id uint64)
internal/domain/service/mocks/mock_repos.go:676
MethodFindByID
FindByID 根据 ID 查询钱包
internal/domain/port/repository.go:36
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:70
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:103
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:119
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:133
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:145
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:165
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:211
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:225
MethodFindByID
FindByID 根据 ID 查询
internal/domain/port/repository.go:251
MethodFindByID
FindByID 根据 ID 查询商户
internal/domain/port/repository.go:282
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/admin_repo.go:28
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/finance_repo.go:27
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/transaction_repo.go:28
MethodFindByID
FindByID 根据 ID 查询商户
internal/adapter/repository/merchant_repo.go:27
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/withdrawal_repo.go:29
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/cny_withdrawal_repo.go:27
MethodFindByID
FindByID 根据 ID 查询用户
internal/adapter/repository/user_repo.go:28
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/transfer_repo.go:27
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/exchange_repo.go:27
MethodFindByID
FindByID 根据 ID 查询钱包
internal/adapter/repository/wallet_repo.go:30
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/red_packet_repo.go:28
MethodFindByID
FindByID 根据 ID 查询
internal/adapter/repository/sub_account_repo.go:27
MethodFindByID
(ctx context.Context, id uint64)
internal/adapter/handler/mock_test.go:153
MethodFindByID
(ctx context.Context, id uint64)
internal/adapter/handler/mock_test.go:195
MethodFindByID
(_ context.Context, _ uint64)
internal/adapter/handler/mock_test.go:226
MethodFindByID
(_ context.Context, _ uint64)
internal/adapter/handler/mock_test.go:270
MethodFindByID
(ctx context.Context, id uint64)
internal/adapter/handler/mock_test.go:300
MethodFindByID
(ctx context.Context, id uint64)
internal/adapter/handler/mock_test.go:381
MethodFindByID
(ctx context.Context, id uint64)
internal/adapter/handler/mock_test.go:423
MethodFindByID
(_ context.Context, _ uint64)
internal/adapter/handler/mock_test.go:454
MethodFindByPacketAndUser
(ctx context.Context, packetID, userID uint64)
internal/domain/service/mocks/mock_repos.go:582
MethodFindByPacketAndUser
FindByPacketAndUser 查询某用户是否已领取
internal/adapter/repository/red_packet_repo.go:101
MethodFindByPacketAndUser
(_ context.Context, _, _ uint64)
internal/adapter/handler/mock_test.go:406
MethodFindByPair
(ctx context.Context, fromCurrency, toCurrency string)
internal/domain/service/mocks/mock_repos.go:363
MethodFindByPair
FindByPair 根据交易对查询汇率
internal/adapter/repository/exchange_rate_repo.go:23
MethodFindByPair
(_ context.Context, _, _ string)
internal/adapter/handler/mock_test.go:328
MethodFindByTelegramID
(_ context.Context, _ int64)
internal/infrastructure/tron/monitor_test.go:695
MethodFindByTelegramID
(ctx context.Context, telegramID int64)
internal/domain/service/mocks/mock_repos.go:35
MethodFindByTelegramID
FindByTelegramID 根据 Telegram ID 查询用户
internal/adapter/repository/user_repo.go:38
MethodFindByTelegramID
(_ context.Context, _ int64)
internal/adapter/handler/mock_test.go:201
MethodFindByTxHash
(ctx context.Context, txHash string)
internal/domain/service/mocks/mock_repos.go:230
MethodFindByTxHash
FindByTxHash 根据交易哈希查询
internal/adapter/repository/deposit_repo.go:27
MethodFindByTxHash
(_ context.Context, _ string)
internal/adapter/handler/mock_test.go:281
MethodFindByUserID
(_ context.Context, _ uint64)
internal/infrastructure/tron/monitor_test.go:751
MethodFindByUserID
(ctx context.Context, userID uint64)
internal/domain/service/mocks/mock_repos.go:94
MethodFindByUserID
(ctx context.Context, userID uint64)
internal/domain/service/mocks/mock_repos.go:158
MethodFindByUserID
(ctx context.Context, userID uint64)
internal/domain/service/mocks/mock_repos.go:173
MethodFindByUserID
FindByUserID 根据用户 ID 查询钱包私钥
internal/domain/port/repository.go:62
MethodFindByUserID
FindByUserID 根据用户 ID 查询
internal/domain/port/repository.go:199
MethodFindByUserID
FindByUserID 根据用户 ID 查询钱包私钥
internal/adapter/repository/wallet_key_repo.go:27
MethodFindByUserID
FindByUserID 根据用户 ID 查询
internal/adapter/repository/user_settings_repo.go:23
MethodFindByUserID
FindByUserID 获取用户所有钱包
internal/adapter/repository/wallet_repo.go:50
MethodFindByUserID
(ctx context.Context, userID uint64)
internal/adapter/handler/mock_test.go:235
MethodFindByUserIDAndCurrency
(_ context.Context, _ uint64, _ string)
internal/infrastructure/tron/monitor_test.go:748
MethodFindByUserIDAndCurrency
(ctx context.Context, userID uint64, currency string)
internal/domain/service/mocks/mock_repos.go:86
MethodFindByUserIDAndCurrency
FindByUserIDAndCurrency 根据用户 ID 和币种查询钱包
internal/adapter/repository/wallet_repo.go:40
MethodFindByUserIDAndCurrency
(ctx context.Context, userID uint64, currency string)
internal/adapter/handler/mock_test.go:229
MethodFindByUsername
(_ context.Context, _ string)
internal/infrastructure/tron/monitor_test.go:698
MethodFindByUsername
(ctx context.Context, username string)
internal/domain/service/mocks/mock_repos.go:43
MethodFindByUsername
(ctx context.Context, username string)
internal/domain/service/mocks/mock_repos.go:486
MethodFindByUsername
FindByUsername 根据用户名查询
internal/domain/port/repository.go:253
MethodFindByUsername
FindByUsername 根据用户名查询
internal/adapter/repository/admin_repo.go:38
MethodFindByUsername
FindByUsername 根据用户名查询用户
internal/adapter/repository/user_repo.go:48
MethodFindByUsername
(ctx context.Context, username string)
internal/adapter/handler/mock_test.go:159
MethodFindByUsername
(_ context.Context, _ string)
internal/adapter/handler/mock_test.go:204
MethodFreezeBalance
(_ context.Context, _ uint64, _ decimal.Decimal)
internal/infrastructure/tron/monitor_test.go:760
← previousnext →901–1,000 of 2,200, ranked by callers