finality

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v0.4.0

type Handler interface {
	IsFinal(ctx context.Context, network, channel, txID string) error
}

type Manager added in v0.4.0

type Manager struct {
	Handlers []Handler
	// contains filtered or unexported fields
}

func NewManager added in v0.4.0

func NewManager(tracerProvider trace.TracerProvider) *Manager

func (*Manager) AddHandler added in v0.4.0

func (s *Manager) AddHandler(handler Handler)

type Registry added in v0.4.0

type Registry interface {
	RegisterService(service interface{}) error
}

type Server

type Server interface {
	RegisterProcessor(typ reflect.Type, p view2.Processor)
}

Jump to

Keyboard shortcuts

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