Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prober

type Prober interface {
	Start()
	Stop()
	UpdateProbes(info []*store.ProbeInfo)
	StopProbe(uuids []string)
	IsUsedProbe(sid string) bool
}

Prober is the interface that wraps the required methods to maintain status about upstream servers(Endpoints) associated with a third-party service.

func NewProber

func NewProber(store store.Storer,
	probeCh *channels.RingChannel,
	updateCh *channels.RingChannel) Prober

NewProber creates a new third-party service prober.

Source Files