cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Stdout chan Out
	Stderr chan Out
	// contains filtered or unexported fields
}

func NewCmd

func NewCmd(name string) *Cmd

func (*Cmd) Run

func (c *Cmd) Run(command string) error

type Out

type Out struct {
	Name      string
	ID        string
	Command   string
	Message   string
	Completed bool
}

Jump to

Keyboard shortcuts

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