MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / MockComponent

Struct MockComponent

status_manager_test.go:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type MockComponent struct {
11 name string
12 startErr error
13 stopErr error
14 startDelay time.Duration
15 stopDelay time.Duration
16 startCalled atomic.Int32
17 stopCalled atomic.Int32
18}
19
20func NewMockComponent(name string) *MockComponent {
21 return &MockComponent{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected