connectioncounter

package
v14.2.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cType string, l net.Listener) net.Listener

New returns a listener which increments a prometheus counter on each accepted connection. Use cType to specify the connection type, this is a prometheus label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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