helpers

package
v1.28.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0, MIT Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LifecycleCtx

func LifecycleCtx(mctx MetricsCtx, lc fx.Lifecycle) context.Context

LifecycleCtx creates a context which will be cancelled when lifecycle stops

This is a hack which we need because most of our services use contexts in a wrong way

Types

type MetricsCtx

type MetricsCtx context.Context

MetricsCtx is a context wrapper with metrics

Jump to

Keyboard shortcuts

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