deadlock

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 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