app

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackboxApp

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

func NewBlackboxApp

func NewBlackboxApp(cfg *blackbox.Config, log *logger.Logger) *BlackboxApp

func (*BlackboxApp) DebugAddr

func (b *BlackboxApp) DebugAddr() string

DebugAddr returns the address (host and port) that the debug server is bound to. If the debug server has not been started an empty string will be returned.

func (*BlackboxApp) Run

func (b *BlackboxApp) Run()

func (*BlackboxApp) StartCalculators

func (b *BlackboxApp) StartCalculators(egressClient blackbox.QueryableClient, stopChan chan bool)

func (*BlackboxApp) StartPerformanceCalculator

func (b *BlackboxApp) StartPerformanceCalculator(tlsConfig *tls.Config, egressClient blackbox.QueryableClient, stopChan chan bool)

func (*BlackboxApp) StartReliabilityCalculator

func (b *BlackboxApp) StartReliabilityCalculator(tlsConfig *tls.Config, egressClient blackbox.QueryableClient, stopChan chan bool)

func (*BlackboxApp) Stop

func (b *BlackboxApp) Stop()

Stop stops all the subprocesses for the application.

Jump to

Keyboard shortcuts

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