watchlog

package
v0.0.0-...-499f22c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(db store.DB, client apiclient.ChainHttpClient, delay int) *Watcher

NOTE: delay is millisecond

func (*Watcher) Close

func (w *Watcher) Close() (err error)

func (*Watcher) Err

func (w *Watcher) Err() <-chan error

func (*Watcher) Start

func (w *Watcher) Start(ctx context.Context, factoryAddress common.Address) (err error)

Jump to

Keyboard shortcuts

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