monitor

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: GPL-3.0 Imports: 44 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
	FlowGenKey      string
	HaloCometURL    string
	SolverAddress   string
	HaloGRPCURL     string
	LoadGen         loadgen.Config
	XFeeMngr        xfeemngr.Config
	DBDir           string
	RouteScanAPIKey string
}

func DefaultConfig

func DefaultConfig() Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳