task

package
v0.4.3-0...-fd7f253 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: GPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillProcess

func KillProcess(processName string) string

KillProcess 根据进程名结束进程

func UnInstallALL

func UnInstallALL()

UnInstallALL 卸载

func WaitThread

func WaitThread()

WaitThread 接收任务线程

Types

type Task

type Task struct {
	Type    string            // 任务类型
	Command string            // 任务内容
	Result  map[string]string // 返回结果
}

Task 接收任务结构

func (*Task) Run

func (t *Task) Run() []byte

Jump to

Keyboard shortcuts

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