Versions in this module Expand all Collapse all v0 v0.0.3 Apr 16, 2025 v0.0.2 Apr 15, 2025 v0.0.1 Apr 8, 2025 v0.0.0 Apr 8, 2025 Changes in this version + const DefaultSupervisorTimeout + const ServerPollInterval + type CommandWorker struct + Args []string + Command string + Env []string + Name string + func (w CommandWorker) Start(ctx context.Context, ready chan<- struct{}) error + func (w CommandWorker) String() string + type HttpWorker struct + Address string + Handler http.Handler + func (w HttpWorker) Start(ctx context.Context, ready chan<- struct{}) error + func (w HttpWorker) String() string + type ServerWorker struct + Port int + func (w ServerWorker) Start(ctx context.Context, ready chan<- struct{}) error + type SupervisorWorker struct + Name string + Timeout time.Duration + Workers []Worker + func (w SupervisorWorker) Start(ctx context.Context, ready chan<- struct{}) error + func (w SupervisorWorker) String() string + type Worker interface + Start func(ctx context.Context, ready chan<- struct{}) error