taskqueue

package
v0.0.0-...-4018599 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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 PubTask

type PubTask struct {
	Msg string
}

type PubTaskQueue

type PubTaskQueue chan *PubTask

func NewPubTaskQueue

func NewPubTaskQueue(workerNum int) PubTaskQueue

type ReqRepTask

type ReqRepTask struct {
	Msg        string
	ResultChan chan string
}

type ReqRepTaskQueue

type ReqRepTaskQueue chan *ReqRepTask

func NewReqRepTaskQueue

func NewReqRepTaskQueue(workerNum int) ReqRepTaskQueue

Jump to

Keyboard shortcuts

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