Пример #1
0
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)
}