rainbond: github.com/goodrain/rainbond/worker/appm/prober Index | Files

package prober

import "github.com/goodrain/rainbond/worker/appm/prober"

Index

Package Files

prober.go

type Prober Uses

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

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

func NewProber Uses

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

NewProber creates a new third-party service prober.

Package prober imports 14 packages (graph) and is imported by 1 packages. Updated 2019-10-15. Refresh now. Tools for package owners.