Versions in this module Expand all Collapse all v1 v1.54.1 Sep 11, 2026 v1.54.0 Sep 11, 2026 Changes in this version + const ConfigKey + const IdentityKey + const PerServiceShutdownTimeout + const PodTerminationGracePeriod + func ListenAndServe(s Service) error + func MustInit[T config.ServiceConfig](ctx context.Context, name string) (context.Context, *config.RuntimeConfig[T]) + func Run[T config.ServiceConfig](name string, factory ComponentsFactory[T]) + type Components struct + DBPools map[string]any + GRPC *grpcserver.Registration + HTTP *httpserver.Registration + type ComponentsFactory func(ctx context.Context, cfg config.RuntimeConfig[T], m *metrics.Metrics, ...) (Components, error) + type Service interface + Address func() string + Logger func() *logrus.Entry + Name func() string + Serve func() error + Shutdown func(ctx context.Context) error + func Boot[T config.ServiceConfig](ctx context.Context, name string, factory ComponentsFactory[T]) ([]Service, error) + type ServiceManager struct + func NewServiceManager(services ...Service) *ServiceManager + func (m *ServiceManager) RunAll(ctx context.Context, cancel context.CancelCauseFunc) <-chan error