Implement reloadable config (#136)
authorcolstuwjx <wjx_colstu@hotmail.com>
Fri, 21 Apr 2017 11:11:14 +0000 (19:11 +0800)
committerBrian Brazil <brian-brazil@users.noreply.github.com>
Fri, 21 Apr 2017 11:11:14 +0000 (12:11 +0100)
commit4d7f2205905b2d902540feeca4aad1b6007e4dca
tree3141ee5a4d7e89232f74e981130f9a659cd0a79d
parent2decd6a3a12493b67cdc52937c17508f73410dad
Implement reloadable config (#136)

Add reloadConfig to support hot-reload by SIGHUP.

Add /reload POST endpoint to hot-reload config.
main.go