handler

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	JetCoordinator jet.Coordinator
	PCS            insolar.PlatformCryptographyScheme
	RecordAccessor object.RecordAccessor
	RecordModifier object.RecordModifier

	IndexAccessor object.IndexAccessor
	IndexModifier object.IndexModifier

	DropModifier       drop.Modifier
	PulseAccessor      pulse.Accessor
	JetModifier        jet.Modifier
	JetAccessor        jet.Accessor
	JetKeeper          executor.JetKeeper
	BackupMaker        executor.BackupMaker
	InitialStateReader executor.InitialStateAccessor

	Sender          bus.Sender
	StartPulse      pulse.StartPulse
	PulseCalculator pulse.Calculator
	JetTree         jet.Storage
	DropDB          *drop.DB

	Replicator executor.HeavyReplicator
	// contains filtered or unexported fields
}

Handler is a base struct for heavy's methods

func New

New creates a new handler.

func (*Handler) Init

func (h *Handler) Init(ctx context.Context) error

func (*Handler) Process

func (h *Handler) Process(msg *watermillMsg.Message) error

Jump to

Keyboard shortcuts

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