Directories
¶
| Path | Synopsis |
|---|---|
|
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
internal
|
|
|
apps/admin
Package admin 提供管理后台功能
|
Package admin 提供管理后台功能 |
|
apps/admin/auth_source
Package auth_source 提供认证源管理功能
|
Package auth_source 提供认证源管理功能 |
|
apps/admin/cache
Package cache provides HTTP handlers for managing disk cache.
|
Package cache provides HTTP handlers for managing disk cache. |
|
apps/admin/db_manage
Package db_manage provides router handlers for managing database tables, overview information, and executing custom SQL queries.
|
Package db_manage provides router handlers for managing database tables, overview information, and executing custom SQL queries. |
|
apps/admin/logs
Package logs 提供日志查询与分析功能
|
Package logs 提供日志查询与分析功能 |
|
apps/admin/message_gateway
Package message_gateway provides admin HTTP APIs for messaging channels.
|
Package message_gateway provides admin HTTP APIs for messaging channels. |
|
apps/admin/push
Package push defines push notification HTTP routes, background tasks, and events.
|
Package push defines push notification HTTP routes, background tasks, and events. |
|
apps/admin/push/custom_events
Package custom_events defines custom push notification events.
|
Package custom_events defines custom push notification events. |
|
apps/admin/status
Package status 提供系统状态查询接口
|
Package status 提供系统状态查询接口 |
|
apps/admin/system_config
Package system_config 提供系统配置管理功能
|
Package system_config 提供系统配置管理功能 |
|
apps/admin/task
Package task 提供任务管理接口
|
Package task 提供任务管理接口 |
|
apps/admin/template
Package template 提供模板管理功能
|
Package template 提供模板管理功能 |
|
apps/admin/updater
Package updater manages GitHub Release checks and in-place application upgrades.
|
Package updater manages GitHub Release checks and in-place application upgrades. |
|
apps/admin/user
Package user 提供用户管理功能
|
Package user 提供用户管理功能 |
|
apps/cap
Package cap 提供人机验证中间件
|
Package cap 提供人机验证中间件 |
|
apps/config
Package config 提供公开配置查询接口
|
Package config 提供公开配置查询接口 |
|
apps/custom
Package custom is a scaffold SAMPLE, not a product business home.
|
Package custom is a scaffold SAMPLE, not a product business home. |
|
apps/health
Package health 提供健康检查端点
|
Package health 提供健康检查端点 |
|
apps/message_gateway
Package message_gateway provides user bind/unbind APIs and credential helpers.
|
Package message_gateway provides user bind/unbind APIs and credential helpers. |
|
apps/message_gateway/runner
Package runner starts message-gateway adapters in the Worker process.
|
Package runner starts message-gateway adapters in the Worker process. |
|
apps/oauth
Package oauth 提供 OAuth/OIDC 认证与会话管理
|
Package oauth 提供 OAuth/OIDC 认证与会话管理 |
|
apps/risk_control
Package risk_control 提供风险控制中间件
|
Package risk_control 提供风险控制中间件 |
|
apps/upload
Package upload 提供文件上传与下载功能
|
Package upload 提供文件上传与下载功能 |
|
apps/upload/cache
Package cache provides in-process upload access-control caches.
|
Package cache provides in-process upload access-control caches. |
|
apps/upload/filesrv
Package filesrv serves uploaded files with access control and image compression.
|
Package filesrv serves uploaded files with access control and image compression. |
|
apps/upload/handler
Package handler provides upload HTTP API handlers.
|
Package handler provides upload HTTP API handlers. |
|
apps/upload/ingest
Package ingest provides the programmatic upload domain service for Wavelet.
|
Package ingest provides the programmatic upload domain service for Wavelet. |
|
apps/upload/shared
Package shared holds upload error and configuration constants shared across subpackages.
|
Package shared holds upload error and configuration constants shared across subpackages. |
|
apps/upload/stats
Package stats maintains incremental upload statistics and aggregations.
|
Package stats maintains incremental upload statistics and aggregations. |
|
apps/upload/storage
Package storage provides upload storage backend operations and migration state.
|
Package storage provides upload storage backend operations and migration state. |
|
apps/upload/task
Package task provides upload-related async background task handlers.
|
Package task provides upload-related async background task handlers. |
|
apps/upload/util
Package util provides upload media helpers and image utilities.
|
Package util provides upload media helpers and image utilities. |
|
apps/user
Package user 提供用户认证与帐户管理功能
|
Package user 提供用户认证与帐户管理功能 |
|
buildinfo
Package buildinfo exposes metadata injected by the release workflow.
|
Package buildinfo exposes metadata injected by the release workflow. |
|
cmd
Package cmd 提供 CLI 命令入口
|
Package cmd 提供 CLI 命令入口 |
|
infra/config
Package config 负责应用配置的加载、解析与环境变量覆盖。
|
Package config 负责应用配置的加载、解析与环境变量覆盖。 |
|
infra/diskcache
Package diskcache wraps the generic pkg/cache/disk to provide database configuration integration.
|
Package diskcache wraps the generic pkg/cache/disk to provide database configuration integration. |
|
infra/objectstore
Package objectstore provides dynamically configured file storage backends.
|
Package objectstore provides dynamically configured file storage backends. |
|
infra/persistence
Package db 提供数据库连接与基础设施
|
Package db 提供数据库连接与基础设施 |
|
infra/persistence/batchwriter
Package batchwriter provides a reusable buffered batch writer for high-throughput append-only sinks such as ClickHouse.
|
Package batchwriter provides a reusable buffered batch writer for high-throughput append-only sinks such as ClickHouse. |
|
infra/persistence/idgen
Package idgen 提供分布式 ID 生成器
|
Package idgen 提供分布式 ID 生成器 |
|
infra/persistence/migrator
Package migrator 提供数据库迁移功能
|
Package migrator 提供数据库迁移功能 |
|
infra/task
Package task 定义异步任务类型与调度常量
|
Package task 定义异步任务类型与调度常量 |
|
infra/task/handlers
Package handlers 注册异步任务处理器
|
Package handlers 注册异步任务处理器 |
|
infra/task/scheduler
Package scheduler 提供定时任务调度功能
|
Package scheduler 提供定时任务调度功能 |
|
infra/task/worker
Package worker 提供 Asynq 任务处理服务器与中间件
|
Package worker 提供 Asynq 任务处理服务器与中间件 |
|
listener
Package listener provides domain event dispatch for cross-module integration.
|
Package listener provides domain event dispatch for cross-module integration. |
|
model
Package model 定义数据模型与 GORM 实体
|
Package model 定义数据模型与 GORM 实体 |
|
model/analytics
Package analytics defines ClickHouse analytics domain models.
|
Package analytics defines ClickHouse analytics domain models. |
|
platform/bootstrap
Package bootstrap wires cross-module integrations and process-level subsystem initialization.
|
Package bootstrap wires cross-module integrations and process-level subsystem initialization. |
|
platform/lifecycle
Package lifecycle manages global application and business component shutdown hooks.
|
Package lifecycle manages global application and business component shutdown hooks. |
|
repository
Package repository provides data access with caching and persistence boundaries.
|
Package repository provides data access with caching and persistence boundaries. |
|
repository/analytics
Package analytics provides ClickHouse data access for analytics tables.
|
Package analytics provides ClickHouse data access for analytics tables. |
|
repository/logstore
Package logstore abstracts user access-log storage across ClickHouse, PostgreSQL and SQLite.
|
Package logstore abstracts user access-log storage across ClickHouse, PostgreSQL and SQLite. |
|
router
Package router 提供 HTTP 路由注册与服务启动
|
Package router 提供 HTTP 路由注册与服务启动 |
|
router/root
Package root registers custom business routes and frontend serving.
|
Package root registers custom business routes and frontend serving. |
|
router/v1
Package v1 contains router registrations for API V1
|
Package v1 contains router registrations for API V1 |
|
shared
Package shared 提供跨模块共享的常量、错误定义和通用类型。
|
Package shared 提供跨模块共享的常量、错误定义和通用类型。 |
|
shared/response
Package response provides shared HTTP API response structures.
|
Package response provides shared HTTP API response structures. |
|
testhelper
Package testhelper 提供测试辅助工具
|
Package testhelper 提供测试辅助工具 |
|
util
Package util provides framework-agnostic helper types and HTTP utilities.
|
Package util provides framework-agnostic helper types and HTTP utilities. |
|
pkg
|
|
|
cache/disk
Package disk implements a platform-level disk-backed cache with size limit, TTL, and LRU eviction.
|
Package disk implements a platform-level disk-backed cache with size limit, TTL, and LRU eviction. |
|
cache/ram
Package ram provides a thin wrapper around Otter v2 for process-local caching.
|
Package ram provides a thin wrapper around Otter v2 for process-local caching. |
|
cap
Package cap 提供人机验证(CAPTCHA)功能
|
Package cap 提供人机验证(CAPTCHA)功能 |
|
httppool
Package httppool manages shared, optimized HTTP transports to reuse TCP connections.
|
Package httppool manages shared, optimized HTTP transports to reuse TCP connections. |
|
logger
Package logger 提供结构化日志封装
|
Package logger 提供结构化日志封装 |
|
mail
Package mail 提供 SMTP 邮件发送功能。
|
Package mail 提供 SMTP 邮件发送功能。 |
|
message_gateway
Package message_gateway defines channel adapters, pairing codes, and inbound types.
|
Package message_gateway defines channel adapters, pairing codes, and inbound types. |
|
message_gateway/channel/qq
Package qq implements the official QQ Bot C2C adapter.
|
Package qq implements the official QQ Bot C2C adapter. |
|
message_gateway/channel/telegram
Package telegram implements the Telegram private-chat adapter.
|
Package telegram implements the Telegram private-chat adapter. |
|
push
Package push 提供解耦的、无外部业务依赖 of 通知推送底层实现
|
Package push 提供解耦的、无外部业务依赖 of 通知推送底层实现 |
|
trace
Package trace 提供 OpenTelemetry 链路追踪封装工具
|
Package trace 提供 OpenTelemetry 链路追踪封装工具 |
|
util
Package util provides generic utility functions.
|
Package util provides generic utility functions. |
Click to show internal directories.
Click to hide internal directories.