locations

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocationWorker

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

LocationWorker stream worker

func NewLocationWorker

func NewLocationWorker(workers *worker.Workers, id int, label string) *LocationWorker

NewLocationWorker create a new LocationWorker

func (*LocationWorker) Command

func (w *LocationWorker) Command(c int)

Command sent to this worker

func (*LocationWorker) Run

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

Run is main function of this worker

func (*LocationWorker) Terminate

func (w *LocationWorker) Terminate()

Terminate the worker

Jump to

Keyboard shortcuts

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