GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — node-eos/examples/README.md at master · adonis2014/node-eos

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
45 lines (37 loc) · 855 Bytes
/

README.md

Copy path

File metadata and controls

45 lines (37 loc) · 855 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

node-eos

eos(https://github.com/ulyn/eos) client for node.js

Installation

You can install it using npm:

$ npm install ss-test

Example

. how to do:

var eos = require("node-eos");
var ssTest = require("ss-eos-test");

eos.init({
    zookeeper_ip: '127.0.0.1',
    zookeeper_port: 2181,
    long_connect: true,
    exclude_eos:[],//ignore eos
    debugging_server_ip: '', 
    use_mock: false, 
    method_mock: {
        "appid":{
            "testService":["sayHello"]
        }
    }
});

setInterval(function(){
    var testType = new ssTest.TestType();
    testType.testMap({"@type":"java.util.HashMap",a:1},"2",
        function(data){
            console.log("result:"+JSON.stringify(data));
        },
        function(msg){
            console.log("call exception:"+msg);
        });
},5000);
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.