function _M.get_children()

in lib/shenyu/register/zookeeper/zk_cluster.lua [55:65]


function _M.get_children(self, path)
    local client = self.client
    if not client then
        ngx_log(ngx.ERR, "conn not initialized")
    end
    local data, error = client:get_children(path)
    if not data then
        return nil, error
    end
    return data, nil
end