MCPcopy
hub / github.com/caddyserver/caddy / Exiting

Function Exiting

caddy.go:845–845  ·  view source on GitHub ↗

Exiting returns true if the process is exiting. EXPERIMENTAL API: subject to change or removal.

()

Source from the content-addressed store, hash-verified

843// Exiting returns true if the process is exiting.
844// EXPERIMENTAL API: subject to change or removal.
845func Exiting() bool { return exiting.Load() }
846
847// OnExit registers a callback to invoke during process exit.
848// This registration is PROCESS-GLOBAL, meaning that each

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.80

Tested by

no test coverage detected