testing

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTicker

type MockTicker struct {
	Channel chan uint64
}

MockTicker defines a useful struct for mocking the Ticker interface from the slotutil package.

func (*MockTicker) C

func (m *MockTicker) C() <-chan uint64

C --

func (*MockTicker) Done

func (m *MockTicker) Done()

Done --

Jump to

Keyboard shortcuts

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