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 ¶
Click to show internal directories.
Click to hide internal directories.