report

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

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

func NewReporter

func NewReporter(disp *dp.Dispatcher, consensus *consensus.ConsensusEngine, chain *blockchain.Chain) *Reporter

NewReporter instantiates a reporter instance

func (*Reporter) Start

func (rp *Reporter) Start(ctx context.Context) error

Start is called when the reporter starts

func (*Reporter) Stop

func (rp *Reporter) Stop()

Stop is called when the reporter stops

func (*Reporter) Wait

func (rp *Reporter) Wait()

Wait suspends the caller goroutine

Jump to

Keyboard shortcuts

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