relayer

package
v0.0.2-0...-fac0c3d Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RelayerStartAborted = fmt.Errorf("getting start block aborted by relayer application terminating signal")

Functions

This section is empty.

Types

type App

type App struct {
	*shutter.Shutter
	// contains filtered or unexported fields
}

func New

func New(config *Config) *App

func (*App) IsReady

func (a *App) IsReady() bool

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	SourcesAddr        []string
	GRPCListenAddr     string
	SourceRequestBurst int
	MaxSourceLatency   time.Duration
	OneBlocksURL       string
}

func (*Config) ZapFields

func (c *Config) ZapFields() []zap.Field

Jump to

Keyboard shortcuts

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