timer

package
v0.0.0-...-e31f9e3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2016 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

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

Timer is the timer obeject

func NewTimer

func NewTimer(sec time.Duration, worker *worker.Worker) (*Timer, error)

NewTimer return a new Timer object

func (*Timer) Run

func (t *Timer) Run()

Run the timer

Jump to

Keyboard shortcuts

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