MCPcopy Create free account
hub / github.com/astercloud/aster / Set

Method Set

pkg/session/session.go:48–48  ·  view source on GitHub ↗

Set 设置 key-value,覆盖已存在的值

(key string, value any)

Source from the content-addressed store, hash-verified

46
47 // Set 设置 key-value,覆盖已存在的值
48 Set(key string, value any) error
49
50 // Delete 删除指定 key
51 Delete(key string) error

Callers 7

UpdateStateMethod · 0.65
TestStateFunction · 0.65
writeJSONFunction · 0.65
ChatStreamHandlerMethod · 0.65
JSONFunction · 0.65
ErrorFunction · 0.65
ErrorWithDetailsFunction · 0.65

Calls

no outgoing calls

Tested by 1

TestStateFunction · 0.52