shutdown

package
v3.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelHook

type CancelHook interface {
	GetContext() context.Context
}

type Hook

type Hook interface {
	GetContext() context.Context
	AddFinalSteps(p func(), name string)
	Add(p func(), name string)
	AddCancelOnlyTasks(p func(), name string)
	Cleanup()
	Interrupt()
	AddUIStop(func())
}

func NewHook

func NewHook() Hook

Jump to

Keyboard shortcuts

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