metrics

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 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 Handler

type Handler struct {
	Mesh mesh.Mesh
	// contains filtered or unexported fields
}

Handler provides the routes required to serve TrafficMetrics

func NewHandler

func NewHandler(meshInstance mesh.Mesh) (*Handler, error)

NewHandler returns a handler that has been initialized to defaults.

func (*Handler) Routes

func (h *Handler) Routes() *chi.Mux

Routes returns the routes that allow fetching metrics

Jump to

Keyboard shortcuts

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