hangdetector

package
v2.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HangDetector

type HangDetector interface {
	Start()
	Stop()
	C() <-chan bool
	WrapOutWriter(writer io.Writer) io.Writer
	WrapErrWriter(writer io.Writer) io.Writer
}

HangDetector ...

func NewDefaultHangDetector

func NewDefaultHangDetector(timeout time.Duration) HangDetector

NewDefaultHangDetector ...

type Ticker

type Ticker interface {
	C() <-chan time.Time
	Stop()
}

Ticker helps with mocking time.Ticker by hiding exported struct fields

Jump to

Keyboard shortcuts

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