readcloserwithmetrics

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloserWithMetrics

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

func New

func New(
	context *metrics.MetricContext, closer io.ReadCloser,
) (trc *ReadCloserWithMetrics)

func (*ReadCloserWithMetrics) Close

func (r *ReadCloserWithMetrics) Close() error

func (*ReadCloserWithMetrics) Read

func (r *ReadCloserWithMetrics) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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