pkg

package
v0.0.0-...-0f051d9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TaskConsumer

func TaskConsumer(ch chan string, finished chan bool)

任务的消费者函数

func TaskProducer

func TaskProducer(ch chan string)

任务生产者函数

Types

type WorkProcessData

type WorkProcessData struct {
	Data map[string]string
	// contains filtered or unexported fields
}

创建过程数据的存储容器

func (*WorkProcessData) AddData

func (s *WorkProcessData) AddData(key, value string)

添加数据到容器

func (*WorkProcessData) GetData

func (s *WorkProcessData) GetData() string

从容器获取数据

Jump to

Keyboard shortcuts

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