xatu

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "xatu"

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics(namespace string) *Metrics

func (*Metrics) SetPeerConnectionAttempts

func (m *Metrics) SetPeerConnectionAttempts(count int)

func (*Metrics) SetPeers

func (m *Metrics) SetPeers(count int, status string)

type Xatu

type Xatu struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, name string, config *xatuCoordinator.Config, handlers *handler.Peer, captureDelay time.Duration, ethereumConfig *ethereum.Config, log observability.ContextualLogger) (*Xatu, error)

func (*Xatu) Start

func (x *Xatu) Start(ctx context.Context) error

func (*Xatu) Stop

func (x *Xatu) Stop(ctx context.Context) error

func (*Xatu) Type

func (x *Xatu) Type() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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