lib/server/server.js
function (route) {
  if (!route) {
    return null;
  }
  let ts = route.split('.');
  if (ts.length !== 3) {
    return null;
  }

  return {
    route: route,
    serverType: ts[0],
    handler: ts[1],
    method: ts[2]
  };
}
function (route) {
  if (!route) {
    return null;
  }
  let ts = route.split('.');
  if (ts.length !== 3) {
    return null;
  }

  return {
    route: route,
    serverType: ts[0],
    handler: ts[1],
    method: ts[2]
  };
}
function ( route ) { if ( ! route ) { return null ; } let ts = route . split ( '.' ) ; if ( ts . length !== 3 ) { return null ; } return { route : route , serverType : ts [ 0 ] , handler : ts [ 1 ] , method : ts [ 2 ] } ; }
Parse route string.

@param  {String} route route string, such as: serverName.handlerName.methodName
@return {Object}       parse result object or null for illeagle route string
Parse route string .