@dbmx/mom

1.1.59 • Public • Published

@DBMX / rpc

  import RPC from '../index'

  const url = 'amqp://0.0.0.0:5672'
  const dbmxExchange = 'dbmx'
  const client = await RPC({ url, dbmxExchange })
  const user = await client.call('auth:people:userInfo', { _id: 1 }, { timeout: 2000 })
  client.end()

Readme

Keywords

none

Package Sidebar

Install

npm i @dbmx/mom

Weekly Downloads

91

Version

1.1.59

License

MIT

Unpacked Size

34.2 kB

Total Files

7

Last publish

Collaborators

  • ebasley