runner

package
v0.114.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoStart = func(ctx context.Context) context.Context { return ctx }

NoStart for cmd.

Functions

func Start added in v0.26.0

func Start(name, operation string, opts *Options)

Start the cmd.

Types

type Options added in v0.8.0

type Options struct {
	Lifecycle fx.Lifecycle
	Logger    *zap.Logger
	Fn        StartFn
}

Options for runner.

type StartFn added in v0.26.0

type StartFn func(context.Context) context.Context

StartFn for cmd.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL