sugo-endpoint-caller

1.0.0 • Public • Published

sugo-endpoint-caller

Client for sugo-enpoint-actor.

Usage

const EndpointCaller = require('sugo-endpoint-caller')
const co = require('co')

co(function * () {
  let actor = new EndpointCaller({
    pathname: '/api'
  })
  let api = actor.get('greeting')
  let hello = yield api.hello({ message: 'hoge' })
  console.log(hello)
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i sugo-endpoint-caller

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • fuji_haruka