working filer server!

This commit is contained in:
Chris Lu
2014-03-30 11:28:04 -07:00
parent 259c7d66f7
commit 2861275fb6
9 changed files with 366 additions and 31 deletions

View File

@@ -66,7 +66,7 @@ func writeJsonError(w http.ResponseWriter, r *http.Request, err error) {
}
func debug(params ...interface{}) {
glog.V(3).Infoln(params)
glog.V(4).Infoln(params)
}
func secure(whiteList []string, f func(w http.ResponseWriter, r *http.Request)) func(w http.ResponseWriter, r *http.Request) {