fakepulsar

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: Apache-2.0, BSD-3-Clause-Clear Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePulsar

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

FakePulsar is a struct which uses at void network state.

func NewFakePulsar

func NewFakePulsar(callback callbackOnPulse, timeoutMs int32) *FakePulsar

NewFakePulsar creates and returns a new FakePulsar.

func (*FakePulsar) GetFakePulse

func (fp *FakePulsar) GetFakePulse() *core.Pulse

GetFakePulse creates and returns a fake pulse.

func (*FakePulsar) Start

func (fp *FakePulsar) Start(ctx context.Context)

Start starts sending a fake pulse.

func (*FakePulsar) Stop

func (fp *FakePulsar) Stop(ctx context.Context)

Stop sending a fake pulse.

Jump to

Keyboard shortcuts

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