texts

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextMessageWorker

type TextMessageWorker struct {
	sync.Mutex
	// contains filtered or unexported fields
}

TextMessageWorker stream worker

func NewTextMessageWorker

func NewTextMessageWorker(workers *worker.Workers, id int, label string) *TextMessageWorker

NewTextMessageWorker create a new TextMessageWorker

func (*TextMessageWorker) Command

func (w *TextMessageWorker) Command(c int)

Command sent to this worker

func (*TextMessageWorker) Run

func (w *TextMessageWorker) Run(wg *sync.WaitGroup, term *chan int)

Run is main function of this worker

func (*TextMessageWorker) Terminate

func (w *TextMessageWorker) Terminate()

Terminate the worker

Jump to

Keyboard shortcuts

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