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 network.PulseHandler, pulseDuration time.Duration) *FakePulsar
NewFakePulsar creates and returns a new FakePulsar.
func (*FakePulsar) Start ¶
func (fp *FakePulsar) Start(ctx context.Context, firstPulseTime time.Time)
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.