process

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *cli.Context, modeverb string) (int, string)

Run invokes the process using a given mode

func Setup

func Setup(c *cli.Context, s *[]Status) (uint16, error)

Setup starts the HTTP listener

Types

type Status

type Status struct {
	Arguments    []string
	Command      string
	EndTime      time.Time
	ExitCode     int
	Mode         string
	SidebindPort uint16
	StartTime    time.Time
	Status       string
	TTL          time.Duration
	Wait         time.Duration
}

Status is the status of a process

Jump to

Keyboard shortcuts

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