modulepackage
0.0.2
Repository: https://github.com/devopyio/config-reloader.git
Documentation: pkg.go.dev
# README
config-reloader
Watches file or directory and does HTTP POST on change.
Directory watching is done recursively.
Useful when you want to reload an application on configuration change.
Options
usage: config-reloader --config=CONFIG --webhook-url=WEBHOOK-URL [<flags>]
Reloads Configuration
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
--config=CONFIG config file or directory watched by the reloader
--log.level=info Log level.
--log.format=text Log format.
--webhook-url=WEBHOOK-URL webook URL to send HTTP GET on
--watch-interval=3m watch interval
# Packages
No description provided by the author