MCPcopy Create free account
hub / github.com/codnect/procyon / Init

Method Init

component/lifecycle.go:24–24  ·  view source on GitHub ↗

Init is called once the component has been constructed and dependencies injected.

(ctx context.Context)

Source from the content-addressed store, hash-verified

22type Initializer interface {
23 // Init is called once the component has been constructed and dependencies injected.
24 Init(ctx context.Context) error
25}
26
27// PreProcessor defines logic that runs before a component is initialized.

Callers 1

initializeMethod · 0.65

Implementers 3

AnyComponentWithInitializercomponent/component_test.go
AnyModuleruntime/module_test.go
AnyPanicModuleruntime/module_test.go

Calls

no outgoing calls

Tested by

no test coverage detected