fake

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManualTickProvider added in v0.13.0

type ManualTickProvider struct {
	Channel chan time.Time
}

A ManualTickProvider holds a channel that delivers `ticks' of a clock at intervals.

func (*ManualTickProvider) NewTicker added in v0.13.0

func (mtp *ManualTickProvider) NewTicker(time.Duration) *time.Ticker

NewTicker returns a Ticker containing a channel that will send the time with a period specified by the duration argument.

Jump to

Keyboard shortcuts

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