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

Struct mockBackend

pkg/middleware/agent_memory_test.go:14–18  ·  view source on GitHub ↗

mockBackend 模拟后端

Source from the content-addressed store, hash-verified

12
13// mockBackend 模拟后端
14type mockBackend struct {
15 files map[string]string
16 shouldFail bool
17 readCalled int
18}
19
20func newMockBackend() *mockBackend {
21 return &mockBackend{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected