xatu

package
v0.0.150 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Peer

type Peer struct {
	Record *xatu.CoordinatedNodeRecord
	// contains filtered or unexported fields
}

func NewPeer

func NewPeer(log logrus.FieldLogger, handlers *handler.Peer, sharedCache *cache.SharedCache, record string, retryDelay, captureDelay time.Duration) *Peer

func (*Peer) RetryDelay

func (p *Peer) RetryDelay(delay time.Duration)

func (*Peer) Start

func (p *Peer) Start(ctx context.Context) error

func (*Peer) Stop

func (p *Peer) Stop() error

Jump to

Keyboard shortcuts

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