Documentation
¶
Overview ¶
Package redact 遮住要交给外部的文本里可能带的凭证:App API 的错误信息、AI 助手存下来与发给各入口的会话内容。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Credentials ¶
Credentials 去掉地址的用户信息与整段查询串,遮 JSON 与 key=value 形式的凭证字段。不碰别的长串: 种子的 info hash 之类的编号原样留着(AI 助手存下来的工具结果要靠它们接着对话)。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.