Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Banner ¶
func Banner() string
Banner returns a one-line paused notice or "" when active. Callers can unconditionally invoke and gate on empty.
func IsPaused ¶
func IsPaused() bool
IsPaused: non-expired sentinel exists. Malformed sentinel = paused indefinitely (until `ctxcop resume`) — fail-closed-on-corruption.
func Pause ¶
Pause writes a sentinel with an expiry. durStr is a Go duration (10m, 2h, 30s) or "indefinite"/"forever".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.