Documentation ¶ Index ¶ type Worker func New(db *store.Store, destination, secret string, logger *slog.Logger) *Worker func (w *Worker) Run(ctx context.Context) func (w *Worker) Step(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Worker ¶ type Worker struct { Monitor *monitor.Worker Store *store.Store URL string Secret string Client *http.Client Now func() time.Time Logger *slog.Logger } func New ¶ func New(db *store.Store, destination, secret string, logger *slog.Logger) *Worker func (*Worker) Run ¶ func (w *Worker) Run(ctx context.Context) func (*Worker) Step ¶ func (w *Worker) Step(ctx context.Context) error Source Files ¶ View all Source files worker.go Click to show internal directories. Click to hide internal directories.