Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶ added in v0.34.0
CopyFile copies a file. It truncates the destination file if it exists.
func FileExists ¶
func TrapSignal ¶
func TrapSignal(logger logger, cb func())
TrapSignal catches SIGTERM and SIGINT, executes the cleanup function, and exits with code 0.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.