handler

package
v0.0.0-...-83bb8e0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: Apache-2.0 Imports: 11 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 {
	// contains filtered or unexported fields
}

Handler http metrics handler

func New

func New(addr string, logger log.Logger, rate int, cfg *config.Config, c map[string]prometheus.Collector) (*Handler, error)

New create http handler

func (*Handler) Run

func (h *Handler) Run() error

Run start server

Jump to

Keyboard shortcuts

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