rdiscover

package
v1.20.9 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricServers

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

MetricServers define struct include all routes server information

type RDiscover

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

RDiscover route register and discover

func NewRDiscover

func NewRDiscover(zkserv string) *RDiscover

NewRDiscover create a object of RDiscover

func (*RDiscover) GetExporterServer

func (r *RDiscover) GetExporterServer() (string, error)

GetExporterServer fetch exporter server

func (*RDiscover) GetMetricServer

func (r *RDiscover) GetMetricServer() (string, error)

GetMetricServer fetch metric server

func (*RDiscover) Start

func (r *RDiscover) Start() error

Start the rdiscover

func (*RDiscover) Stop

func (r *RDiscover) Stop() error

Stop the rdiscover

Jump to

Keyboard shortcuts

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