mocking

package
v0.0.0-...-efa5bc8 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountDown

func CountDown(writer io.Writer, sleeper Sleeper)

Types

type ConfigurableSleeper

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

func (*ConfigurableSleeper) Sleep

func (c *ConfigurableSleeper) Sleep()

type DefaultSleeper

type DefaultSleeper struct {
}

func (*DefaultSleeper) Sleep

func (d *DefaultSleeper) Sleep()

type Sleeper

type Sleeper interface {
	Sleep()
}

Jump to

Keyboard shortcuts

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