userinteraction

package
v0.477.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitUserAbort

func WaitUserAbort(msg string)

WaitUserAbort displays a message and waits until the user presses CTRL+C (SIGINT). It returns nil upon receiving the signal, or an error if the signal listener fails (though this is rare in a typical setup).

func WaitUserAbortf

func WaitUserAbortf(format string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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