mocks

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterNower

type AfterNower struct {
	mock.Mock
}

AfterNower is an autogenerated mock type for the AfterNower type

func (*AfterNower) After

func (_m *AfterNower) After(d time.Duration) <-chan time.Time

After provides a mock function with given fields: d

func (*AfterNower) Now

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

Now provides a mock function with given fields:

type Cron

type Cron struct {
	mock.Mock
}

Cron is an autogenerated mock type for the Cron type

func (*Cron) AddFunc

func (_m *Cron) AddFunc(_a0 string, _a1 func()) (cron.EntryID, error)

AddFunc provides a mock function with given fields: _a0, _a1

func (*Cron) Start

func (_m *Cron) Start()

Start provides a mock function with given fields:

func (*Cron) Stop

func (_m *Cron) Stop() context.Context

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