Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Starter ¶
type Starter interface { Run(ctx context.Context) error // Run starts the component and processes in the background. Cleanup(ctx context.Context) error // Cleanup shuts down the component gracefully. }
Starter interface defines the methods required for a component to be started and cleaned up gracefully.
Click to show internal directories.
Click to hide internal directories.