handlercommand

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissing = errors.New("missing command")

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func New

func New(opts Options) (*Command, error)

func (*Command) Run

func (c *Command) Run(ctx context.Context) (err error)

type Options

type Options struct {
	SourceFile string

	Logger  *zap.Logger
	BaseDir string
	Command []string
}

Jump to

Keyboard shortcuts

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