standard

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StandardMode

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

StandardMode makes the op-node follow the canonical chain based on a read-only supervisor endpoint.

func NewStandardMode

func NewStandardMode(log log.Logger, cl *sources.SupervisorClient) *StandardMode

func (*StandardMode) AttachEmitter

func (s *StandardMode) AttachEmitter(em event.Emitter)

func (*StandardMode) OnEvent

func (s *StandardMode) OnEvent(ev event.Event) bool

func (*StandardMode) Start

func (s *StandardMode) Start(ctx context.Context) error

func (*StandardMode) Stop

func (s *StandardMode) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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