Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportDeadlockFatal ¶
func ReportDeadlockFatal(name string, threshold time.Duration, log *zap.SugaredLogger)
Types ¶
type Checkpoints ¶
type Checkpoints struct {
// contains filtered or unexported fields
}
func (*Checkpoints) Check ¶
func (c *Checkpoints) Check(name string, nextExpectedAfter ...time.Duration)
Check is nextExpectedAfter == 0 cancels checkpoint
func (*Checkpoints) CheckAndClose ¶
func (c *Checkpoints) CheckAndClose(name string)
func (*Checkpoints) Close ¶
func (c *Checkpoints) Close()
Click to show internal directories.
Click to hide internal directories.