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