sugo-demo-endpoint
Demo of sugo endpoint
Requirements
Installation
$ npm install sugo-demo-endpoint --save
Usage
Create an instance and apply to sg-server (or sugo-cloud)
/** This is an example to use sugo-demo-endpoint */ 'use strict' const sgServer = const server = server
Then call the api from agent script.
/** This is example of client */ 'use strict' const sugoAgentBase = const co =
Signature
sugoDemoEndpoint(options) -> function
Demo of sugo endpoint
Args
Name | Type | Default | Description |
---|---|---|---|
options | object | Optional settings. |
License
This software is released under the Apache-2.0 License.