Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TGlimmer/TG_walletbot
/ types & classes
Types & classes
325 in github.com/TGlimmer/TG_walletbot
⨍
Functions
2,200
◇
Types & classes
325
↓ 1 callers
FuncType
HandlerFunc
HandlerFunc Bot 处理函数类型
internal/adapter/telegram/router.go:15
Interface
AddressGenerator
AddressGenerator 区块链地址生成器端口
internal/domain/port/blockchain.go:11
Interface
AdjustBalanceFormValues
调整余额表单字段
web/src/pages/UserDetail.tsx:42
Interface
AdjustBalanceReq
web/src/api/users.ts:44
Struct
AdjustBalanceReq
AdjustBalanceReq 余额调整请求
internal/adapter/handler/admin_user.go:165
Struct
AdminAuditLogHandler
AdminAuditLogHandler 审计日志处理器
internal/adapter/handler/admin_audit_log.go:15
Struct
AdminClaims
AdminClaims 管理员 JWT Claims
internal/adapter/middleware/jwt.go:15
Struct
AdminConfigHandler
AdminConfigHandler 系统配置处理器
internal/adapter/handler/admin_config.go:12
Struct
AdminExchangeRateHandler
AdminExchangeRateHandler 汇率管理处理器
internal/adapter/handler/admin_exchange_rate.go:14
Struct
AdminFinanceHandler
AdminFinanceHandler 余额宝管理处理器
internal/adapter/handler/admin_finance.go:18
Struct
AdminLog
AdminLog 管理员操作日志
internal/domain/entity/admin.go:41
Struct
AdminLogFilter
AdminLogFilter 管理员日志筛选条件
internal/domain/port/repository.go:269
Struct
AdminLogRepo
AdminLogRepo 管理员操作日志 Repository GORM 实现
internal/adapter/repository/admin_repo.go:67
Interface
AdminLogRepository
AdminLogRepository 管理员操作日志存储端口
internal/domain/port/repository.go:261
Struct
AdminMerchantHandler
AdminMerchantHandler 商户管理处理器
internal/adapter/handler/admin_merchant.go:19
Struct
AdminRedPacketHandler
AdminRedPacketHandler 红包管理处理器
internal/adapter/handler/admin_redpacket.go:15
Struct
AdminService
AdminService 管理员领域服务
internal/domain/service/admin_service.go:16
Struct
AdminTransactionHandler
AdminTransactionHandler 交易管理处理器
internal/adapter/handler/admin_transaction.go:14
Struct
AdminUseCase
AdminUseCase 管理后台用例层
internal/app/admin_usecase.go:18
Interface
AdminUser
web/src/types/user.ts:101
Struct
AdminUser
AdminUser 管理员实体
internal/domain/entity/admin.go:13
Struct
AdminUserHandler
AdminUserHandler 用户管理处理器
internal/adapter/handler/admin_user.go:18
Interface
AdminUserInfo
管理员用户信息
web/src/stores/authStore.ts:7
Struct
AdminUserRepo
AdminUserRepo 管理员 Repository GORM 实现
internal/adapter/repository/admin_repo.go:13
Interface
AdminUserRepository
AdminUserRepository 管理员存储端口
internal/domain/port/repository.go:247
Struct
AdminWithdrawalHandler
AdminWithdrawalHandler 提币审核处理器
internal/adapter/handler/admin_withdrawal.go:15
Struct
AllRatesDisplay
AllRatesDisplay 所有汇率展示数据
internal/domain/service/exchange_service.go:67
Interface
ApiResponse
web/src/types/common.ts:2
Struct
AppConfig
AppConfig 应用基础配置
internal/infrastructure/config/config.go:45
Struct
AppError
AppError 应用层统一错误类型
pkg/errors/errors.go:10
Struct
ApproveReq
ApproveReq 批准提币请求体
internal/adapter/handler/admin_withdrawal.go:52
Interface
ApproveWithdrawalReq
web/src/types/transaction.ts:151
Interface
AuditLog
web/src/types/auditLog.ts:2
Interface
AuditLogListParams
web/src/types/auditLog.ts:24
Interface
AuthGuardProps
AuthGuard 属性
web/src/components/AuthGuard.tsx:6
Struct
AuthHandler
AuthHandler 管理员认证处理器
internal/adapter/handler/admin_auth.go:14
Interface
AuthState
认证状态
web/src/stores/authStore.ts:15
Struct
BalanceResult
各币种总余额
internal/app/admin_usecase.go:108
Interface
BatchUpdateConfigReq
web/src/types/config.ts:24
Struct
BillsPage
BillsPage 账单列表分页数据
internal/domain/service/profile_service.go:72
Struct
BlockData
--- 区块扫描端口 (充值监控使用) --- BlockData 区块数据 (适配层统一格式,隔离 protobuf 细节)
internal/domain/port/blockchain.go:30
Interface
BlockScanner
BlockScanner 区块链区块扫描端口 用于充值监控的区块数据读取,支持批量拉取以加速追赶
internal/domain/port/blockchain.go:59
Struct
BlockTxData
BlockTxData 区块内单笔交易数据
internal/domain/port/blockchain.go:36
Struct
BotConfig
BotConfig Telegram Bot 配置
internal/infrastructure/config/config.go:60
Struct
CNYWithdrawal
CNYWithdrawal CNY 提现记录实体
internal/domain/entity/withdrawal.go:47
Struct
CNYWithdrawalRepo
CNYWithdrawalRepo CNY 提现记录 Repository GORM 实现
internal/adapter/repository/cny_withdrawal_repo.go:12
Interface
CNYWithdrawalRepository
CNYWithdrawalRepository CNY 提现记录存储端口
internal/domain/port/repository.go:115
Struct
CacheRepo
CacheRepo 缓存 Repository Redis 实现
internal/adapter/repository/cache_repo.go:12
Interface
CacheRepository
CacheRepository 缓存端口
internal/domain/port/cache.go:9
Interface
ChangePasswordFormValues
修改密码表单字段
web/src/layouts/AdminLayout.tsx:39
Struct
ChangePasswordReq
ChangePasswordReq 修改密码请求
internal/adapter/handler/admin_auth.go:95
Struct
ClaimResult
ClaimResult 领取红包结果
internal/domain/service/redpacket_service.go:58
Struct
Client
Client TRON 区块链 HTTP API 客户端 (提币发送使用)
internal/infrastructure/tron/client.go:19
Struct
CoinGeckoClient
CoinGeckoClient CoinGecko 免费 API 客户端
internal/infrastructure/exchange/coingecko.go:17
Struct
CompleteReq
CompleteReq 手动完成提币请求体
internal/adapter/handler/admin_withdrawal.go:86
Interface
CompleteWithdrawalReq
web/src/types/transaction.ts:165
Struct
Config
Config 应用全局配置
internal/infrastructure/config/config.go:33
Struct
Container
Container 依赖容器,持有所有 Repository 和 Service 引用
internal/app/app.go:13
Struct
CryptoService
CryptoService AES-256-GCM 加密/解密服务 用于加密保存在数据库中的私钥
internal/infrastructure/tron/crypto.go:30
Struct
DashboardHandler
DashboardHandler 仪表盘处理器
internal/adapter/handler/admin_dashboard.go:14
Struct
DashboardResponse
DashboardResponse 仪表盘数据响应
internal/app/dto/response.go:10
Interface
DashboardStats
web/src/types/config.ts:29
Struct
DashboardStats
--- 仪表盘 --- DashboardStats 仪表盘统计数据
internal/app/admin_usecase.go:78
Struct
DatabaseConfig
DatabaseConfig MySQL 数据库配置
internal/infrastructure/config/config.go:67
Struct
DefaultMessageHandler
DefaultMessageHandler 默认消息处理器 处理非命令文本消息: 根据会话状态路由到对应模块,或返回精简菜单
internal/adapter/telegram/handler/default_handler.go:17
Interface
Deposit
web/src/types/transaction.ts:78
Struct
Deposit
Deposit 充值记录实体
internal/domain/entity/deposit.go:17
Struct
DepositCreditResult
DepositCreditResult 充值入账结果
internal/domain/service/deposit_service.go:207
Struct
DepositHandler
DepositHandler 充值相关回调处理器
internal/adapter/telegram/handler/deposit.go:17
Struct
DepositInfo
DepositInfo 充值页面展示数据
internal/app/deposit_usecase.go:31
Struct
DepositMonitor
DepositMonitor TRON 链上充值监控服务 采用 gRPC 区块扫描模式: 通过 BlockScanner 接口读取区块数据 稳态逐块扫描,追赶时批量拉取 (GetBlockRange)
internal/infrastructure/tron/monitor.go:39
Struct
DepositNotification
DepositNotification 充值入账通知数据
internal/app/deposit_usecase.go:99
Struct
DepositRepo
DepositRepo 充值记录 Repository GORM 实现
internal/adapter/repository/deposit_repo.go:12
Interface
DepositRepository
DepositRepository 充值记录存储端口
internal/domain/port/repository.go:83
Struct
DepositService
DepositService 充值领域服务
internal/domain/service/deposit_service.go:16
Struct
DepositUseCase
DepositUseCase 充值用例层
internal/app/deposit_usecase.go:15
Interface
EditFormValues
编辑表单字段
web/src/pages/ExchangeRates.tsx:20
Interface
EditFormValues
编辑表单字段
web/src/pages/FeeManagement.tsx:32
Interface
EditFormValues
编辑表单字段
web/src/pages/SystemConfig.tsx:21
Interface
EditFormValues
编辑表单字段
web/src/pages/LimitManagement.tsx:39
Interface
Exchange
web/src/types/exchange.ts:40
Struct
Exchange
Exchange 闪兑记录实体
internal/domain/entity/exchange.go:10
Struct
ExchangeDirection
ExchangeDirection 兑换方向定义
internal/app/exchange_usecase.go:35
Struct
ExchangeHandler
ExchangeHandler 闪兑模块 Bot Handler
internal/adapter/telegram/handler/exchange.go:19
Interface
ExchangeListParams
web/src/types/exchange.ts:66
Struct
ExchangePair
ExchangePair 兑换对信息
internal/domain/service/exchange_service.go:51
Interface
ExchangeRate
web/src/types/exchange.ts:2
Struct
ExchangeRate
ExchangeRate 汇率配置实体
internal/domain/entity/exchange_rate.go:10
Struct
ExchangeRateRepo
ExchangeRateRepo 汇率配置 Repository GORM 实现
internal/adapter/repository/exchange_rate_repo.go:13
Interface
ExchangeRateRepository
ExchangeRateRepository 汇率配置存储端口
internal/domain/port/repository.go:151
Struct
ExchangeRepo
ExchangeRepo 闪兑记录 Repository GORM 实现
internal/adapter/repository/exchange_repo.go:12
Interface
ExchangeRepository
ExchangeRepository 闪兑记录存储端口
internal/domain/port/repository.go:141
Struct
ExchangeResult
ExchangeResult 兑换执行结果
internal/domain/service/exchange_service.go:60
Struct
ExchangeService
ExchangeService 闪兑领域服务
internal/domain/service/exchange_service.go:19
Struct
ExchangeUpdater
ExchangeUpdater 汇率自动更新器
internal/infrastructure/exchange/updater.go:81
Struct
ExchangeUseCase
ExchangeUseCase 闪兑用例层
internal/app/exchange_usecase.go:15
Interface
FeeRateFormValues
费率表单字段
web/src/pages/MerchantReview.tsx:54
Struct
FinanceConfig
FinanceConfig 余额宝配置参数
internal/domain/service/finance_service.go:26
Struct
FinanceDashboard
FinanceDashboard 余额宝面板展示数据
internal/app/finance_usecase.go:14
Struct
FinanceHandler
FinanceHandler 余额宝模块 Bot Handler
internal/adapter/telegram/handler/finance.go:20
next →
1–100 of 325, ranked by callers