event

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: AGPL-3.0, ISC Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	EventType Type
	Content   any
}

type Handler

type Handler func(e *Event)

type Type

type Type int
const (
	Error Type = iota
	TransactionProcessed
	TransactionFailed
	NewRoundStarted
	UnicityCertificateHandled
	BlockFinalized
	RecoveryStarted
	RecoveryFinished
	StateReverted
)

Jump to

Keyboard shortcuts

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