Documentation
¶
Overview ¶
Package checkpoint 是会话检查点的文件存储(adk Get/Set 两方法;自产品 internal/agent/checkpoint.go 迁入)。落位 .agent/users/<operator>/sessions/ <sid>/checkpoints/<key>(用户隔离 + 会话删除整目录同删);存储经 UserStore 接口注入——应用数据面(唯一文件写入器)在产品侧。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCheckPointStore ¶
type FileCheckPointStore struct {
// contains filtered or unexported fields
}
FileCheckPointStore 单会话的 checkpoint 存储(operator+sid 定位用户域子树)。
func NewCheckPointStore ¶
func NewCheckPointStore(st UserStore, operator, sid string) *FileCheckPointStore
NewCheckPointStore 构造(operator/sid 已由会话域校验过形态)。
Click to show internal directories.
Click to hide internal directories.