worker

package
v0.0.0-...-be5fe52 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package worker provides a worker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

Worker represents a worker.

func New

func New(conf config.LINEClient, wg *sync.WaitGroup, evchan <-chan *linebot.Event) (*Worker, error)

New creates a worker and returns it.

func (*Worker) Run

func (w *Worker) Run()

Run runs the worker.

Jump to

Keyboard shortcuts

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