longjobkit

package
v0.0.0-...-9e9b37c Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Hostname string
	SaveLog  bool
	AnyError bool
	Err      error
	Log      *bytes.Buffer
}

func Run

func Run(ctx context.Context, name string, repanic bool, action func(ctx context.Context) (bool, error)) *Result

Jump to

Keyboard shortcuts

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