Help us shape the future of Go! Take the 2026 Go Developer Survey

api

module
v0.0.0-...-f80edc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT

Directories

Path Synopsis
app
Jobs/AIDerived
Package aiderivedjobs 承载 AI 派生内容(话题蒸馏、长楼导览)的持久化任务。
Package aiderivedjobs 承载 AI 派生内容(话题蒸馏、长楼导览)的持久化任务。
Jobs/AIReply
Package aireplyjobs 承载 AI 回复的持久化任务定义与执行器。
Package aireplyjobs 承载 AI 回复的持久化任务定义与执行器。
Models/AI
Package ai 是权限感知的 AI 网关服务层。
Package ai 是权限感知的 AI 网关服务层。
Models/AIDerived
Package aiderived 实现 AI 派生内容(话题蒸馏、长楼导览)的产物模型、生成与 持久化。
Package aiderived 实现 AI 派生内容(话题蒸馏、长楼导览)的产物模型、生成与 持久化。
Models/AIReply
TriageDecider 是自主参与模式的核心:判断一条新发言是否值得 AI 回复。
TriageDecider 是自主参与模式的核心:判断一条新发言是否值得 AI 回复。
Models/AITools
Package aitools 实现 Core 内置的只读 AI 工具。
Package aitools 实现 Core 内置的只读 AI 工具。
Models/Attachments/ExtensionReference
Package extensionreference 让扩展复用 Core 的附件体系。
Package extensionreference 让扩展复用 Core 的附件体系。
Support/AI
Package ai 是 Host 的 AI 网关契约层:中立补全契约、provider profile、 三层配置与成本闸门。
Package ai 是 Host 的 AI 网关契约层:中立补全契约、provider profile、 三层配置与成本闸门。
Support/APILTS
Package apilts publishes Host/Frontend API LTS windows, deprecation periods, and shim usage telemetry for V3 P12.
Package apilts publishes Host/Frontend API LTS windows, deprecation periods, and shim usage telemetry for V3 P12.
Support/Appearance
Package appearance owns the stable Core appearance value contract shared by operator options and private user preferences.
Package appearance owns the stable Core appearance value contract shared by operator options and private user preferences.
Support/Audit
Package audit 提供宿主统一审计写入入口(F1.4 最小集)。
Package audit 提供宿主统一审计写入入口(F1.4 最小集)。
Support/Cache
Package cache 提供轻量的业务读缓存抽象。
Package cache 提供轻量的业务读缓存抽象。
Support/Capabilities
Package capabilities 定义插件 Host 能力目录与运行时授权检查(F2.1)。
Package capabilities 定义插件 Host 能力目录与运行时授权检查(F2.1)。
Support/ClientIP
Package clientip 从 HTTP 请求解析真实客户端 IP。
Package clientip 从 HTTP 请求解析真实客户端 IP。
Support/CompatFarm
Package compatfarm loads the V3 P12 multi-version compatibility matrix.
Package compatfarm loads the V3 P12 multi-version compatibility matrix.
Support/ComponentCatalog
Package componentcatalog owns the neutral Host catalog of stable public/admin component ids.
Package componentcatalog owns the neutral Host catalog of stable public/admin component ids.
Support/ContentLinks
Package contentlinks 是宿主「正文链接呈现策略」的唯一实现点。
Package contentlinks 是宿主「正文链接呈现策略」的唯一实现点。
Support/ContentSecurity
Package contentsecurity documents Host-final rich-content and attachment security boundaries for the Trusted Plugin Platform V3 content plane.
Package contentsecurity documents Host-final rich-content and attachment security boundaries for the Trusted Plugin Platform V3 content plane.
Support/Crypto
Package crypto 提供 option 敏感值的 AES-256-GCM 静态加密(H2a)。
Package crypto 提供 option 敏感值的 AES-256-GCM 静态加密(H2a)。
Support/DependencyInspector
Package dependencyinspector exposes Host dependency graph inspection for V3 P12.
Package dependencyinspector exposes Host dependency graph inspection for V3 P12.
Support/ExtensionDownload
Package extensiondownload fetches an extension ZIP from a public HTTPS URL.
Package extensiondownload fetches an extension ZIP from a public HTTPS URL.
Support/ExtensionObservability
Package extensionobservability attributes Host latency, errors, queries, cache, memory, and fallbacks to exact extension artifacts for V3 P12.
Package extensionobservability attributes Host latency, errors, queries, cache, memory, and fallbacks to exact extension artifacts for V3 P12.
Support/ExtensionPackage/referencefixture
Package referencefixture 提供测试专用的参考插件夹具暂存能力。
Package referencefixture 提供测试专用的参考插件夹具暂存能力。
Support/HostAPI
Package hostapi 实现 sforum.host/v1 宿主面(F2.2)。
Package hostapi 实现 sforum.host/v1 宿主面(F2.2)。
Support/HostHTTP
Package hosthttp is the Host-owned outbound HTTP client for plugins and core.
Package hosthttp is the Host-owned outbound HTTP client for plugins and core.
Support/Idempotency
Package idempotency 为选定写路由提供 Idempotency-Key 去重(F3.2)。
Package idempotency 为选定写路由提供 Idempotency-Key 去重(F3.2)。
Support/MediaRegistry
Package mediaregistry defines SForum's immutable, exact-artifact Media Pipeline Registry contract.
Package mediaregistry defines SForum's immutable, exact-artifact Media Pipeline Registry contract.
Support/OutboundHTTP
Package outboundhttp 提供出站 HTTP 的 SSRF 防护(webhook 等)。
Package outboundhttp 提供出站 HTTP 的 SSRF 防护(webhook 等)。
Support/Outbox
Package outbox 定义宿主可靠投递的共享状态约定(F3.1)。
Package outbox 定义宿主可靠投递的共享状态约定(F3.1)。
Support/Pages
Package pages 是宿主 Page Registry 的权威目录与解析入口。
Package pages 是宿主 Page Registry 的权威目录与解析入口。
Support/PluginBootstrap
Package pluginbootstrap owns the process bootstrap ABI shared by the Host and executable plugin SDK.
Package pluginbootstrap owns the process bootstrap ABI shared by the Host and executable plugin SDK.
Support/PluginFiles
Package pluginfiles is the Host-owned namespaced filesystem for plugin private data, temporary files, and user-owned files with quotas and cleanup.
Package pluginfiles is the Host-owned namespaced filesystem for plugin private data, temporary files, and user-owned files with quotas and cleanup.
Support/PluginSessionState
Package pluginsessionstate owns Host-managed, plugin-namespaced session state.
Package pluginsessionstate owns Host-managed, plugin-namespaced session state.
Support/Privacy
Package privacy is the Host privacy export/erase registry for V3 P12.
Package privacy is the Host privacy export/erase registry for V3 P12.
Support/ProcessMemory
Package processmemory 提供主机进程表采样与扩展 backend 插件 RSS 归因。
Package processmemory 提供主机进程表采样与扩展 backend 插件 RSS 归因。
Support/RegionCatalog
Package regioncatalog owns the neutral Host catalog of standard page regions that plugin contributions may place content into (forum.page.regions).
Package regioncatalog owns the neutral Host catalog of standard page regions that plugin contributions may place content into (forum.page.regions).
Support/RuntimeDiagnostics
Package runtimediagnostics owns opt-in, loopback-only process diagnostics.
Package runtimediagnostics owns opt-in, loopback-only process diagnostics.
Support/RuntimeRollout
Package runtimerollout is the Host multi-node staged/canary activation coordinator for V3 P12.
Package runtimerollout is the Host multi-node staged/canary activation coordinator for V3 P12.
Support/Search
Package search 提供论坛主题全文搜索的宿主框架。
Package search 提供论坛主题全文搜索的宿主框架。
Support/SecretStore
Package secretstore is the Host-owned namespaced Secret Store for V3 P11.
Package secretstore is the Host-owned namespaced Secret Store for V3 P11.
Support/SettingsLifecycle
Package settingslifecycle owns versioned plugin settings document migrations, default/reset policy, import/export with secret masking, and conditional fields.
Package settingslifecycle owns versioned plugin settings document migrations, default/reset policy, import/export with secret masking, and conditional fields.
Support/StableFile
Package StableFile 提供跨平台的"稳定读取打开"原语:在 Unix 上以 O_NONBLOCK 打开常规文件,避免目录诱导的阻塞 IO 卡住宿主线程。
Package StableFile 提供跨平台的"稳定读取打开"原语:在 Unix 上以 O_NONBLOCK 打开常规文件,避免目录诱导的阻塞 IO 卡住宿主线程。
Support/SystemTier
Package systemtier models the optional operator-managed system extension tier for early auth/cache/storage providers (V3 P12).
Package systemtier models the optional operator-managed system extension tier for early auth/cache/storage providers (V3 P12).
Support/Timezone
Package timezone owns IANA timezone resolution for host-side code.
Package timezone owns IANA timezone resolution for host-side code.
Support/UserAgent
Package useragent 提供 User-Agent 与 IP 的展示层解析,供会话目录登记设备信息。
Package useragent 提供 User-Agent 与 IP 的展示层解析,供会话目录登记设备信息。
cmd
api command
compat-farm command
Command compat-farm executes the V3 P12 compatibility matrix.
Command compat-farm executes the V3 P12 compatibility matrix.
migrate command
sforum command
worker command
database
internal
testdb
Package testdb 是数据库测试唯一允许的连接来源解析器。
Package testdb 是数据库测试唯一允许的连接来源解析器。
testdb/cmd/devguard command
devguard 在开发库里幂等写入哨兵表 public.sforum_dev_guard。
devguard 在开发库里幂等写入哨兵表 public.sforum_dev_guard。
testdb/guard
Package guard 提供开发库识别所需的数据库原语:开发库哨兵表、一次性测试 集群标记,以及开发库名的存在性检查。
Package guard 提供开发库识别所需的数据库原语:开发库哨兵表、一次性测试 集群标记,以及开发库名的存在性检查。
sdk
plugin
Package plugin 是 SForum 后端插件的公开 Go SDK(Wave F4.1 / P7 catalogs)。
Package plugin 是 SForum 后端插件的公开 Go SDK(Wave F4.1 / P7 catalogs)。
plugin/v2
Package pluginv2 is the stable handwritten entry point for the generated SForum Host API and plugin runtime protocol v2 packages.
Package pluginv2 is the stable handwritten entry point for the generated SForum Host API and plugin runtime protocol v2 packages.
Package version exposes the SForum version and build identity.
Package version exposes the SForum version and build identity.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL