func State(r render.Render, req *http.Request, zc *zk.Conn) { path := req.URL.Query().Get("path") state, _ := zc.NodeState(path) r.JSON(200, state) }