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.
Click to show internal directories.
Click to hide internal directories.