Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
纯逻辑:白名单透传判据与合流入站头。
|
纯逻辑:白名单透传判据与合流入站头。 |
|
bgtask
Package bgtask 登记后台 goroutine,使进程关闭时能统一等待它们退出。
|
Package bgtask 登记后台 goroutine,使进程关闭时能统一等待它们退出。 |
|
credentialcrypto
Package credentialcrypto 提供凭据(API Key)的对称加密、解密与哈希。
|
Package credentialcrypto 提供凭据(API Key)的对称加密、解密与哈希。 |
|
apikeys
Package apikeys 提供 /v1 调用 key(api_keys 表)的管理端 CRUD。
|
Package apikeys 提供 /v1 调用 key(api_keys 表)的管理端 CRUD。 |
|
httpx
Package httpx 提供 handler 层共用的请求绑定辅助(分页 / 路径 ID / JSON)。
|
Package httpx 提供 handler 层共用的请求绑定辅助(分页 / 路径 ID / JSON)。 |
|
internal
|
|
|
testutil
Package testutil 是仓库唯一的测试建库工具(Stage 35 测试隔离收口)。
|
Package testutil 是仓库唯一的测试建库工具(Stage 35 测试隔离收口)。 |
|
Package repository 封装对持久层(GORM/SQLite)的访问,为 service/handler 提供与数据访问框架解耦的接口。
|
Package repository 封装对持久层(GORM/SQLite)的访问,为 service/handler 提供与数据访问框架解耦的接口。 |
|
auth
Package auth 提供鉴权相关的纯工具函数:密码哈希与 JWT 签发/解析。
|
Package auth 提供鉴权相关的纯工具函数:密码哈希与 JWT 签发/解析。 |
|
chatstats
Package chatstats 负责把一次请求的结果落到各维度统计表。
|
Package chatstats 负责把一次请求的结果落到各维度统计表。 |
|
credview
View 凭据对外视图(管理端 JSON 形状)的唯一来源。
|
View 凭据对外视图(管理端 JSON 形状)的唯一来源。 |
|
protocolprobe
Package protocolprobe 是「协议支持检测」的**判定内核**:把上游实际回了什么,折算成 「这条协议能不能用 / 像不像直通 / 字段全不全」,再据此给出带置信度的建议。
|
Package protocolprobe 是「协议支持检测」的**判定内核**:把上游实际回了什么,折算成 「这条协议能不能用 / 像不像直通 / 字段全不全」,再据此给出带置信度的建议。 |
|
transform/anthropic
Package anthropic provides a thin transform adapter that delegates to the upstream service/anthropic implementation.
|
Package anthropic provides a thin transform adapter that delegates to the upstream service/anthropic implementation. |
|
transform/responses
Package responses provides a thin transform adapter that delegates to the upstream service/responses implementation.
|
Package responses provides a thin transform adapter that delegates to the upstream service/responses implementation. |
|
transform/shared
Package shared contains cross-protocol helpers used by the transform sub-packages (openai, responses, streaming, etc.).
|
Package shared contains cross-protocol helpers used by the transform sub-packages (openai, responses, streaming, etc.). |
Click to show internal directories.
Click to hide internal directories.

