metrics

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service that reports the metrics of the service.

func (Service) Name

func (Service) Name() string

Name returns the name of the service.

func (Service) Register

func (Service) Register(router *mux.Router)

Register sets up the http handler for this service with the given router.

func (Service) Shutdown

func (Service) Shutdown()

Shutdown is a no-op since there are no long running processes.

Jump to

Keyboard shortcuts

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