metricsproxy

package
v0.0.0-...-9742f5a Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	common.StarterShutdowner
}

An Application is the top-level content publisher. It takes a configuration struct. Its children are the several protocol servers (that deal with clients, caches, and so forth).

func NewApplication

func NewApplication(l *logrus.Logger, conf *ConfigFile) (Application, error)

NewApplication makes a new Application

type ConfigFile

type ConfigFile struct {
	MetricsGRPCAddr string
	StatusAddr      string
	Insecure        bool
}

ConfigFile defines the configuration available for the metrics proxy

Jump to

Keyboard shortcuts

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