MCPcopy Create free account
hub / github.com/compozy/agh / fakeProcess

Struct fakeProcess

internal/extension/manager_test.go:1672–1687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1670}
1671
1672type fakeProcess struct {
1673 mu sync.Mutex
1674 pid int
1675 done chan struct{}
1676 waitErr error
1677 closed bool
1678 initReqs []subprocess.InitializeRequest
1679 initResp subprocess.InitializeResponse
1680 initErr error
1681 initHook func()
1682 health subprocess.HealthState
1683 handlers map[string]subprocess.HandlerFunc
1684 callFn func(context.Context, string, any, any) error
1685 shutdownFn func(context.Context) error
1686 shutdownCnt int
1687}
1688
1689func newFakeProcess(pid int) *fakeProcess {
1690 return &fakeProcess{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected