rootd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(address string, port int, f *os.File, wg *sync.WaitGroup)

Types

type AddWorkArgs

type AddWorkArgs struct {
	Command string
	Each    bool
}

type Child

type Child struct {
	Address  string
	Alive    bool
	Assigned int
	// contains filtered or unexported fields
}

type Children

type Children []*Child

func (*Children) GetChildren

func (c *Children) GetChildren(args string, resp *[]Child) error

type Work

type Work struct {
	Status  int
	Command string
	Each    bool

	Output string
	// contains filtered or unexported fields
}

type Workload

type Workload []Work

func (*Workload) AddWork

func (w *Workload) AddWork(args AddWorkArgs, resp *Workload) error

func (*Workload) GetWorkload

func (w *Workload) GetWorkload(args string, resp *Workload) error

Jump to

Keyboard shortcuts

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