Versions in this module Expand all Collapse all v0 v0.55.2 Apr 12, 2025 v0.55.1 Apr 12, 2025 Changes in this version + const LoggerTag + const ReloaderLoggerTag + func ServiceName(s any) string + type Config interface + Services func(appName string, appVersion string) (Service, error) + type Reloader struct + func NewReloader(cfg ReloaderConfig) *Reloader + func (r *Reloader) ServiceName() string + func (r *Reloader) Start(ctx context.Context) (err error) + func (r *Reloader) Wait() <-chan error + type ReloaderConfig struct + Factory ReloaderFn + Logger log.Logger + type ReloaderFn func(ctx context.Context, serviceCh chan<- Service) error + type Service interface + Start func(ctx context.Context) error + Wait func() <-chan error + type Supervisor struct + func New(version string, logger log.Logger) *Supervisor + func (s *Supervisor) Start(ctx context.Context) error + func (s *Supervisor) Wait() <-chan error + func (s *Supervisor) Watch(services ...Service) + type WithName interface + ServiceName func() string