ticker

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewTicker

func NewTicker(step time.Duration) Ticker

func (Ticker) Closed

func (ticker Ticker) Closed() <-chan struct{}

func (Ticker) Start

func (ticker Ticker) Start()

func (Ticker) Stop

func (ticker Ticker) Stop()

func (Ticker) Ticks

func (ticker Ticker) Ticks() <-chan time.Time

Jump to

Keyboard shortcuts

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