task

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processer

type Processer interface {
	Init()
	SubProcess(chan string)
	WaitAll()
}

type Task

type Task struct {
	Duration   string
	Work       chan string
	ReadStream bool
	N          int
	C          int
	Rate       int
	gurlib.Message
	Wg sync.WaitGroup
	Processer
}

func (*Task) Producer

func (T *Task) Producer()

func (*Task) RunMain

func (T *Task) RunMain()

Jump to

Keyboard shortcuts

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