UNPKG

apinode

Version:

An API server that can greatly reduce the work needed to implment API services. It can also cooperate with other API node to make it a mesh of services.

14 lines (13 loc) 197 B
/*! * cnode * authors: Ben Lue * Copyright(c) 2015 Conwell Inc. */ exports.run = function(rt, cb) { var result = { code: 0, message: 'Ok', value: "Hello" }; cb(null, result); };