listener

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootUpdatedEventTopic = "0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4"
)

Variables

View Source
var (
	ErrInvalidEventDataLen = errors.New("invalid data length for event")
)

Functions

func Run

func Run(ctx context.Context, cfg config.Config)

Types

type Listener

type Listener interface {
	Start(ctx context.Context)
}

func NewListener

func NewListener(
	cfg config.Config,
) Listener

Jump to

Keyboard shortcuts

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