Versions in this module Expand all Collapse all v0 v0.2.0 May 17, 2024 Changes in this version + type Option func(*options) + func WithLogger(logger *slog.Logger) Option + func WithMeterProvider(provider metric.MeterProvider) Option + func WithPostRun(runs ...func(context.Context) error) Option + func WithPreRun(runs ...func(context.Context) error) Option + func WithStartGate(gates ...func(context.Context) error) Option + func WithStopGate(gates ...func(context.Context) error) Option + func WithTraceProvider(provider trace.TracerProvider) Option + type Runner struct + func New(opts ...Option) Runner + func (r Runner) Run(ctx context.Context, runs ...func(context.Context) error) error v0.1.0 May 7, 2024 Changes in this version + func Run(args ...any) error