grace

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecAndExit

func ExecAndExit(ctx context.Context)

func GracefulExit

func GracefulExit(ctx context.Context)

func Register

func Register(ctx context.Context, name string, handler Handler, priority ...int)

func UnRegister

func UnRegister(ctx context.Context, name string)

Types

type Handler

type Handler func()

Jump to

Keyboard shortcuts

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