Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppDirName = "notify" ConfigFileName = "notify-config.json" CooldownFileName = "cooldown.json" SilentFileName = "silent.json" LogFileName = "notify.log" DirPerm = 0755 FilePerm = 0644 )
Variables ¶
This section is empty.
Functions ¶
func AtomicWrite ¶ added in v0.2.11
AtomicWrite writes data to path via a temporary file + rename to avoid partial writes. The parent directory is created if needed.
func CooldownKey ¶
CooldownKey returns the map key for a profile/action pair.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.