UNPKG

oncrpc

Version:

Library for creating ONC RPC Node.js servers and clients

32 lines (22 loc) 735 B
// Copyright 2013 Joyent, Inc. All rights reserved. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. ///--- Helpers function _export(obj) { Object.keys(obj).forEach(function (k) { module.exports[k] = obj[k]; }); } ///--- Exports module.exports = {}; _export(require('./client')); _export(require('./dump_reply')); _export(require('./get_port_call')); _export(require('./get_port_reply')); _export(require('./set_call')); _export(require('./set_reply')); _export(require('./server')); _export(require('./unset_call')); _export(require('./unset_reply'));