wrapper

package
v3.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

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

Wrapper provides a HandlerFunc for metrics.Reporter implementations:

func New

func New(reporter metrics.Reporter) *Wrapper

New returns a *Wrapper configured with the given metrics.Reporter:

func (*Wrapper) HandlerFunc

func (w *Wrapper) HandlerFunc(handlerFunction server.HandlerFunc) server.HandlerFunc

HandlerFunc instruments handlers registered to a service:

Jump to

Keyboard shortcuts

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