@kathondvla/sri4node-audit-broadcast
A module for sri4node to register sri-audit-broadcast messages.
Last updated 2 years ago by feelitloveit .
private · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @kathondvla/sri4node-audit-broadcast 
SYNC missed versions from official npm registry.

##Requirements

  • An sri4node api
  • A sri-audit-broadcast server

##To Start

  • Run the script in your sri4node database

##Usage

###Timer Initialize the sri4node-audit-broadcast module

var audit = require('sri4node-audit-broadcast');
audit.init(pg, {
  timeout: 10000,
  host: {
    baseUrl: configuration.audit.host,
    headers: {
      headerName: "value"
    },
    auth: {
      user: "username",
      pass: "password"
    }
  }
});

###After read functions Add the after read functions.

{
  ...,
  afterupdate[audit.update],
  afterinsert[audit.create],
  afterdelete[audit.delete],
  ...
}

Current Tags

  • 2.0.5                                ...           latest (2 years ago)

5 Versions

  • 2.0.5                                ...           2 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 5
Last Month 6
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |