working auto fail-over master node

This commit is contained in:
Chris Lu
2014-02-05 01:54:52 -08:00
parent d6fbd741fd
commit e7585548a4
3 changed files with 39 additions and 12 deletions

View File

@@ -14,7 +14,6 @@ import (
"strings"
)
func writeJson(w http.ResponseWriter, r *http.Request, obj interface{}) (err error) {
w.Header().Set("Content-Type", "application/javascript")
var bytes []byte