deadlock

package
v1.22.1-patch.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(NewDeadlockDetector),
	fx.Invoke(func(lc fx.Lifecycle, dd *deadlockDetector) {
		lc.Append(fx.Hook{
			OnStart: func(ctx context.Context) error {
				return dd.Start()
			},
			OnStop: func(ctx context.Context) error {
				return dd.Stop()
			},
		})
	}),
)

Functions

func NewDeadlockDetector

func NewDeadlockDetector(params params) *deadlockDetector

Types

This section is empty.

Jump to

Keyboard shortcuts

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