pulsemanager

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package pulsemanager is responsible for all pulse operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PulseManager

type PulseManager struct {
	NodeNet            network.NodeNetwork         `inject:""`
	NodeSetter         node.Modifier               `inject:""`
	Nodes              node.Accessor               `inject:""`
	PulseAppender      pulse.Appender              `inject:""`
	PulseAccessor      pulse.Accessor              `inject:""`
	FinalizationKeeper executor.FinalizationKeeper `inject:""`
	JetModifier        jet.Modifier                `inject:""`

	StartPulse pulse.StartPulse
	// contains filtered or unexported fields
}

PulseManager implements insolar.PulseManager.

func NewPulseManager

func NewPulseManager(disp dispatcher.Dispatcher) *PulseManager

NewPulseManager creates PulseManager instance.

func (*PulseManager) Set

func (m *PulseManager) Set(ctx context.Context, newPulse insolar.Pulse) error

Set set's new pulse.

Jump to

Keyboard shortcuts

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