nctx

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRequestReadBytes

func WithRequestReadBytes(ctx context.Context, reader io.Reader) io.Reader

Types

type Counter

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

func (*Counter) Get

func (c *Counter) Get() uint64

func (*Counter) WithRequestReadBytes

func (c *Counter) WithRequestReadBytes(ctx context.Context) context.Context

type Key

type Key string
const RequestReadBytesKey Key = "operator.requestReadBytes"

type With

type With interface {
	With(ctx context.Context) context.Context
}

Jump to

Keyboard shortcuts

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