xatu

package
v0.0.167 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 12 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(name string, config *xatuCoordinator.Config, handlers *handler.Peer, captureDelay time.Duration, log logrus.FieldLogger) (*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