Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Watch ¶
Listens for changes to the specified file. Note this: - Only ends if the context is closed - Listens at the directory level, for cross OS compatibility - Only fires if the config file has changed, and can be read - Only fires if the data in the file is different to the last notification - Does not reload the config - that's the caller's responsibility
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.