server

package
v0.0.0-...-3976a69 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseEndpoint        string
	MetricsPrefixFilter string
	Tags                []string
}

type Handler

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

func NewHandler

func NewHandler(cfg Config, httpClient *http.Client, statsDClient statsdClient) Handler

func (*Handler) MetricsFilter

func (h *Handler) MetricsFilter(w http.ResponseWriter, r *http.Request)

func (*Handler) ProxyHandle

func (h *Handler) ProxyHandle(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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