digitalocean
Version:
nodejs wrapper for digitalocean v2 api
80 lines (58 loc) • 2.71 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: digitalocean.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Source: digitalocean.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>module.exports = {
client: require('./digitalocean/client'),
account: require('./digitalocean/account'),
};
//
// Reused type documnentation
//
/**
* Every resource method accepts an optional callback as the last argument.
*
* @callback requestCallback
* @param {object} error - An error or null if no error occurred.
* @param {object} resource - The resource or null if error.
* @param {object} headers - An object containing the response headers.
* @param {string} body - The raw response body.
*/
/**
* Every resource method accepts an optional callback as the last argument.
*
* @callback listRequestCallback
* @param {object} error - An error or null if no error occurred.
* @param {ListResponse} listResource - The list resource or null if error.
* @param {object} headers - An object containing the response headers.
* @param {string} body - The raw response body.
*/
</code></pre>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Account.html">Account</a></li><li><a href="Action.html">Action</a></li><li><a href="Certificate.html">Certificate</a></li><li><a href="Client.html">Client</a></li><li><a href="Domain.html">Domain</a></li><li><a href="Droplet.html">Droplet</a></li><li><a href="Firewall.html">Firewall</a></li><li><a href="FloatingIp.html">FloatingIp</a></li><li><a href="Image.html">Image</a></li><li><a href="ListResponse.html">ListResponse</a></li><li><a href="LoadBalancer.html">LoadBalancer</a></li><li><a href="Region.html">Region</a></li><li><a href="Size.html">Size</a></li><li><a href="Snapshot.html">Snapshot</a></li><li><a href="Tag.html">Tag</a></li><li><a href="Volume.html">Volume</a></li></ul><h3><a href="global.html">Global</a></h3>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a>
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>