MCPcopy
hub / github.com/apache/answer / KVStorage

Interface KVStorage

plugin/kv_storage.go:318–321  ·  view source on GitHub ↗

KVStorage defines the interface for plugins that need data storage capabilities

Source from the content-addressed store, hash-verified

316
317// KVStorage defines the interface for plugins that need data storage capabilities
318type KVStorage interface {
319 Info() Info
320 SetOperator(operator *KVOperator)
321}
322
323var (
324 CallKVStorage,

Callers 2

setupTestEnvironmentFunction · 0.65
initPluginDataMethod · 0.65

Implementers 1

TestKVStoragePluginplugin/plugin_test/kv_storage_test.go

Calls

no outgoing calls

Tested by

no test coverage detected