ticker

package
v0.0.0-...-a01428d Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ticker

type Ticker interface {
	Tick()
}

type Timer

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

func NewTimer

func NewTimer(ch chan interface{}) *Timer

func (*Timer) Reset

func (this *Timer) Reset(duration time.Duration, param interface{})

func (*Timer) Stop

func (this *Timer) Stop()

func (*Timer) Tick

func (this *Timer) Tick()

func (*Timer) Wait

func (this *Timer) Wait() <-chan interface{}

Jump to

Keyboard shortcuts

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