signal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 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 InterruptHandler

type InterruptHandler struct {
	// contains filtered or unexported fields
}

func NewInterruptHandler

func NewInterruptHandler(logger zerolog.Logger) *InterruptHandler

NewInterruptHanlder instantiates a new interrupt handler

func (*InterruptHandler) ShutdownDoneChannel

func (i *InterruptHandler) ShutdownDoneChannel() <-chan struct{}

ShutdownDoneChannel returns the channel used to signal the end of the shutdown sequence

Jump to

Keyboard shortcuts

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