runner

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

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

Start the cmd.

Types

type Options

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

Options for runner.

type StartFn

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