Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager orchestrates multiple services with proper startup/shutdown order
func (*Manager) AddService ¶
AddService registers a service with the manager
type Service ¶
type Service interface {
// Start initializes and starts the service
Start(ctx context.Context) error
// Stop gracefully shuts down the service
Stop(ctx context.Context) error
// Name returns the service name for logging
Name() string
// HealthCheck returns the health status of the service
HealthCheck() error
}
Service defines the common interface for all services
Click to show internal directories.
Click to hide internal directories.