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

Method Set

pkg/store/interface.go:60–60  ·  view source on GitHub ↗

Set 设置资源

(ctx context.Context, collection, key string, value any)

Source from the content-addressed store, hash-verified

58
59 // Set 设置资源
60 Set(ctx context.Context, collection, key string, value any) error
61
62 // Delete 删除资源
63 Delete(ctx context.Context, collection, key string) error

Callers 15

ExecuteMethod · 0.65
sendJSONMethod · 0.65
sendErrorMethod · 0.65
ExecuteMethod · 0.65
ExecuteMethod · 0.65
writeJSONFunction · 0.65
CallMethod · 0.65
CallToolMethod · 0.65
ListToolsMethod · 0.65
writeJSONFunction · 0.65
corsMiddlewareFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestToolHandlersFunction · 0.52
TestMiddlewareHandlersFunction · 0.52
TestTelemetryHandlersFunction · 0.52
TestSystemHandlersFunction · 0.52
TestMCPHandlersFunction · 0.52
TestValidationErrorsFunction · 0.52
TestAgentCreateFunction · 0.52
TestRoomCreateFunction · 0.52
TestMemoryCreateWorkingFunction · 0.52
TestSessionCreateFunction · 0.52
TestWorkflowCreateFunction · 0.52