proxy

package
v0.0.0-...-2b959d5 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

package proxy provides a TCP proxy which exposes telemetry metrics via prometheus instrumentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(listenAddress, targetAddress, metricsAddress string) config

NewConfig returns a new

func NewProxy

func NewProxy(config config, doneCh chan<- struct{}) *proxy

NewProxy returns a new proxy having the passed configuration. The passed done channel will be closed when the proxy has completed shutting down.

Types

This section is empty.

Jump to

Keyboard shortcuts

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