metrics

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricConfig

type MetricConfig struct {
	RunMode config.RunMode
	Host    string
	Port    int
}

func NewMetricConfig

func NewMetricConfig(cfg *config.AppConfig) *MetricConfig

type MetricServer

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

func NewMetricServer

func NewMetricServer(cfg *MetricConfig,
	graceful *graceful_service.GracefulService) *MetricServer

func (MetricServer) Start

func (m MetricServer) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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