mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct {
	mock.Mock
}

Clock is an autogenerated mock type for the Clock type

func (*Clock) NewTimer

func (_m *Clock) NewTimer(_a0 time.Duration) cagetime.Timer

NewTimer provides a mock function with given fields: _a0

func (*Clock) Now

func (_m *Clock) Now() time.Time

Now provides a mock function with given fields:

type Timer

type Timer struct {
	mock.Mock
}

Timer is an autogenerated mock type for the Timer type

func (*Timer) C

func (_m *Timer) C() <-chan time.Time

C provides a mock function with given fields:

func (*Timer) Reset

func (_m *Timer) Reset(_a0 time.Duration) bool

Reset provides a mock function with given fields: _a0

func (*Timer) Stop

func (_m *Timer) Stop() bool

Stop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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