monitor

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

Run starts the monitor service.

func WriteConfigTOML

func WriteConfigTOML(cfg Config, logCfg log.Config, path string) error

WriteConfigTOML writes the toml monitor config to disk.

Types

type Config

type Config struct {
	RPCEndpoints   xchain.RPCEndpoints
	Network        netconf.ID
	MonitoringAddr string
	PrivateKey     string
	HaloURL        string
	LoadGen        loadgen.Config
	XFeeMngr       xfeemngr.Config
	DBDir          string
}

func DefaultConfig

func DefaultConfig() Config

Jump to

Keyboard shortcuts

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