Open Sn0rt opened 7 years ago
$ grep -rin HandlerReload .
Binary file ./bin/influx-proxy matches
./service/http.go:35: mux.HandleFunc("/reload", hs.HandlerReload)
./service/http.go:43:func (hs *HttpService) HandlerReload(w http.ResponseWriter, req *http.Request) {
同理 @moooofly 怎么看?
$ grep -rin RewriteLoop .
./backends.go:199: go bs.RewriteLoop()
./backends.go:205:func (bs *Backends) RewriteLoop() {
如上所示
LoadJson
函数仅在初始化过程中使用,不建议使用go的导出函数命名风格。