MCPcopy
hub / github.com/lonng/nano / Component

Interface Component

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

Component is the interface that represent a component.

Source from the content-addressed store, hash-verified

22
23// Component is the interface that represent a component.
24type Component interface {
25 Init()
26 AfterInit()
27 BeforeShutdown()
28 Shutdown()
29}

Callers 4

StartupMethod · 0.65
StartupMethod · 0.65
ShutdownMethod · 0.65
ShutdownMethod · 0.65

Implementers 1

Basecomponent/base.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…