whole_func_string: function getRoutes (server, host) {
    return server.table(host).map(({ path, method, settings: { vhost } }) => ({
      path,
      method,
      ...(vhost ? { vhost } : {})
    }))
  }
func_code_string: function getRoutes (server, host) {
    return server.table(host).map(({ path, method, settings: { vhost } }) => ({
      path,
      method,
      ...(vhost ? { vhost } : {})
    }))
  }
func_documentation_string: @function
  @private
  
  Get all routes in server table
  
  @param {hapi.Server} server The related hapi server instance
  @param {string} host The host to filter by virtual host
  @returns {Array.<?Object>} List of routes