storj-lib-sip3deprecated

Storj Core plugin to enable support for SIP3 (Remote Notifications and Triggers)

Usage no npm install needed!

<script type="module">
  import storjLibSip3 from 'https://cdn.skypack.dev/storj-lib-sip3';
</script>

README

Storj Core - SIP3

Build Status Coverage Status NPM License

Storj Core plugin to enable support for SIP3 (Remote Notifications and Triggers).

Install

npm install storj-lib-sip3 --save

Usage

const storj = require('storj-lib');
const sip3 = require('storj-lib-sip3');
const node = new storj.Node(options);

node.plugin(sip3);

node.triggers.add('<node_id>', {
  behaviorName: (params, callback) => {
    console.log('received trigger with params %j', params);
    callback();
  }
});

License

Storj Core SIP3 - Storj Core plugin to enable support for SIP3 (Remote Notifications and Triggers)
Copyright (C) 2016 Storj Labs, Inc

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Certain parts of this program are licensed under the GNU Lesser General Public License as published by the Free Software Foundation. You can redistribute it and/or modify it under the terms either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.